Skip to content
Tcl Source Code View Ticket
Login

View Ticket

SHLIB_LD_LIBS set wrong for HP-UX in tcl8.0.5 configure scri

Closed / Fixed218083ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:59
OriginalBugID: 1708 Bug
Version: 8.0.5
SubmitDate: '1999-04-05'
LastModified: '2000-04-03'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '2000-04-03'


Name:  Allan Brighton
email:  [email protected]
Support:  None
Severity:  3
OperatingSystem:  HP-UX
CustomShell:  init.tcl mkIndex for itcl patch.
Synopsis:  SHLIB_LD_LIBS set wrong for HP-UX in tcl8.0.5 configure script

ReproducibleScript:
    In tcl7.6, the configure script set:
    
       SHLIB_LD_LIBS='${LIBS}'
    
    in tcl8.0.5, it is:
    
       SHLIB_LD_LIBS=""
    
    My configure script depends on this value to determine how to
    create a shared library on different systems. On HP-UX with 
    tcl8.0.5, the setting is wrong, so that shared libraries linked
    in this way can not be loaded at run time.
    

ObservedBehavior:
    Wrong linkage of shared libraries, undefined symbols at run time
    when loading a Tcl package from a shared library on HP-UX.
    
    

DesiredBehavior:
    SHLIB_LD_LIBS should be set as in tcl7.6.
    

Patch:
The work around is to check for this case on HP-UX.



This is no longer valid for building extensions with Tcl > 8.1. 
-- 04/03/2000 hobbs
welch Closed ticket [218083ffff]. [History diff]2000-10-26 08:14:46
dgp Ticket [218083ffff]: 3 changes [History diff]2001-04-05 06:54:29
Log in (anonymous is fine) to add a comment.