Tcl's configure on linux has a small shared lib bug
Closed / Fixed217876ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:45:16
OriginalBugID: 2195 Bug
Version: 8.0.5
SubmitDate: '1999-06-07'
LastModified: '1999-08-13'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 957 1951 1896 1409
OS: Linux
OSVersion: Debian 2.1
Machine: Other
FixedDate: '2000-10-25'
FixedInVersion: 8.1
ClosedDate: '1999-08-13'
Name:
Mo
ReproducibleScript:
The problem is with the tclConfig.sh file that is generated by tcl's
configure script. It should generate an entry like this under Linux.
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
The problem is that when the configure script is run I get this value
instead (under Debian Linux 2.1 with Kernel 2.2.7).
LD_SEARCH_FLAGS=""
ObservedBehavior:
When the LD_SEARCH_FLAGS does not include the LIB_RUNTIME_DIR
info the shared lib for my extension does not link correctly.
DesiredBehavior:
The value of LD_SEARCH_FLAGS should include the shared lib
linking info.
Patch:
mo(~/project/tcl/tcl8.0.5/unix)% diff -u copy_configure.in configure.in
--- copy_configure.in Fri Jun 4 16:49:31 1999
+++ configure.in Fri Jun 4 16:51:36 1999
@@ -795,7 +795,7 @@
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LD_FLAGS="-rdynamic"
- LD_SEARCH_FLAGS=""
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
else
AC_CHECK_HEADER(dld.h, [
PatchFiles:
tcl8.0.5/unix/configure.in
Fixed in 8.1 configure setup (aclocal.m4).
-- 08/13/1999 hobbs
welch Closed ticket [217876ffff].
[History diff]2000-10-26 08:09:10
dgp Ticket [217876ffff]: 3 changes
[History diff]2001-04-13 23:40:50
Log in (anonymous is fine) to add a comment.