Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 090214a1945ce41055ef2b3bbda8c38189997f9c
Ticket: 218541ffffffffffffffffffffffffffffffffff
tcl8.0.4 uses wrong library path on Linux
User & Date: nobody on 2000-10-26 01:01:56
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 957 Bug
    Version: 8.0.4
    SubmitDate: '1998-12-14'
    LastModified: '1999-08-13'
    Severity: SER
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 1951 1896 2195 1409
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-08-13'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    From: John Ellson <[email protected]>
    Newsgroups: comp.lang.tcl
    Subject: BUG tcl8.0.4 uses wrong library path on Linux
    Date: Mon, 23 Nov 1998 12:23:44 -0500
    Organization: Lucent Technologies
    Message-ID: <[email protected]>
    
    Building tcl8.0.4 on linux with:
    
    configure --prefix=/usr/add-on/tcl8.0 --enable-shared
    
    RedHat already has a tcl installation in /usr
    The resulting tclsh picks up the wrong libtcl8.0.so
    
    The final step of tcl8.0.4 make is:
    
    gcc -rdynamic tclAppInit.o -L/usr/add-on/tcl8.0/build/tcl8.0.4/unix
    -ltcl8.0  -ldl  -lm -lc  -o tclsh
    
    The final step of tcl8.0.3 with plus patches (which have had this
    problem fixed for years now!) is:
    
    cc -rdynamic  tclAppInit.o -L/usr/add-on/tcl8.0/build/tcl8.0.3/unix
    -ltcl8.0  -ldl  -lieee -lm -Wl,-rpath,/usr/add-on/tcl8.0/lib -o tclsh8.0
    
    The significant part being: "-Wl,-rpath,/usr/add-on/tcl8.0/lib"
    
    John Ellson
    
    -Wl,-rpath have been included since 8.1.
    -- 08/13/1999 hobbs 
    -- 08/13/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  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: "61. (unused)"
  10. title changed to: "tcl8.0.4 uses wrong library path on Linux"
  11. type changed to: "Bug"