Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 391cd9a09cd9ffac11baebeb4f09faf8e63892f5
Ticket: 218952ffffffffffffffffffffffffffffffffff
Should link with -rdynamic option on FreeBSD 3.2+
User & Date: nobody on 2000-10-26 01:08:33
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2998 Bug
    Version: 8.2
    SubmitDate: '1999-09-29'
    LastModified: '2000-02-10'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Other
    OSVersion: FreeBSD 3.2
    Machine: NA
    FixedDate: '2000-02-10'
    FixedInVersion: 8.3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Jean-Francois Dockes
    
    ReproducibleScript:
    somehost % tclsh
        % load ./mysqltcl.so
        couldn't load file "./mysqltcl.so": ./mysqltcl.so: Undefined symbol
        "Tcl_PkgProvide"
    
    ObservedBehavior:
    On FreeBSD3.2 and later, which use ELF, the tclsh and wish interpreters
        should
        be linked using the -rdynamic gcc option (or gcc -Wl,-export-dynamic, or
        ld -export-dynamic), like what is done on Linux.
        
        Else a shared object loaded by the interpreter can't access vital
        functions like Tcl_PkgProvide, and fails to load
    
    
    
    Added -export-dynamic to LDFLAGS for both tclsh and wish. 
    -- 02/10/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  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: "75. Tutorial"
  10. title changed to: "Should link with -rdynamic option on FreeBSD 3.2+"
  11. type changed to: "Bug"