Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Unresolved "shl_load" when linking statically w/ libtcl8.1.a

Closed / Fixed218822ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:02
OriginalBugID: 2255 Bug
Version: 8.1.1
SubmitDate: '1999-06-21'
LastModified: '2000-02-05'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2013
OS: HP-UX
OSVersion: 10.20, 9.04
Machine: Other
FixedDate: '2000-02-05'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name:
Hal Mahaffey

ReproducibleScript:
./configure --enable-gcc --disable-load --prefix=/cmbin/tcl8.1.1
    --exec-prefix=/cmbin/tcl8.1.1
    
    I even added "--disable-shared" at one point.

ObservedBehavior:
I need to force static linking.  When I built 8.0 and 7.6 in the past as
    I configured above, I got a libtcl.a library that I could link
    statically with our applications.  Now I get unresolved symbols for
    "shl_load", "shl_unload", and "shl_findsym", just as I would if I had
    linked libtcl dynamically and then tried to link our apps statically
    with it.
    
    The configure output even shows "cannot figure out how to build
    dynamically".
    
    Where are those entry points defined?  I'm thinking it should be
    possible to statically link them into the libtcl library somehow...

DesiredBehavior:
To be able to link statically with the libtcl8.1.a library.



These problems were fixed in the 8.2 makeover of the Makefiles.
I just verified that this works on our local HP 10.20. 
-- 02/05/2000 hobbs
welch Closed ticket [218822ffff]. [History diff]2000-10-26 08:29:17
dgp Ticket [218822ffff]: 4 changes [History diff]2001-04-05 06:54:25
Log in (anonymous is fine) to add a comment.