Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c0566c259dce71fdbfcef335abb5ba15fac2fc89
Ticket: 217876ffffffffffffffffffffffffffffffffff
Tcl's configure on linux has a small shared lib bug
User & Date: nobody on 2000-10-26 00:45:16
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Tcl's configure on linux has a small shared lib bug
    
  11. type changed to: "Bug"