Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d3597e9b6c986260779771795224ae2ff15b12e9
Ticket: 219394ffffffffffffffffffffffffffffffffff
tcl_findLibrary doesn't look in arch specific directory
User & Date: nobody on 2000-10-26 05:12:19
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 6180 Bug
    Version: 8.3.2
    SubmitDate: '2000-08-29'
    LastModified: '2000-08-29'
    Severity: LOW
    Status: UnAssn
    Submitter: usman
    ChangedBy: usman
    OS: Linux-Red Hat
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    The tcl_findLibrary procedure looks for a library in positions
    relative to the executable. One of these positions is relative
    to the Tcl library ([info library]). The others are relative to
    the executable itself. The search path relative to the 
    Tcl library does not consider an architecture specific library.
    
    This means that if the executable is copied or linked to a different
    location , extensions will fail to load.
    
    So if Tcl library is here:
    mypath/lib/tcl8.3
    
    The system checks this:
    mypath/lib/<package>
    
    but not this:
    mypath/<arch>/lib/<package>
    
    Symptom is errors that show that tcl_findLibrary failed (but not
    a "can't find package" error):
    
    % ln -s <BUILD>/wish8.3 /tmp/wish
    % /tmp/wish
    % package require vu
    Can't find a usable vu.tcl in the following directories: 
        <BUILD>/lib/vu2.0 /lib/vu2.0 /lib/vu2.0 /library /library /vu2.0/library /vu2.0/library
    
    This probably means that vu wasn't installed properly.
    
    Work around: use aliases instead of symlinks, or set the <EXTENSION>_LIBRARY
    environment variable, which tcl_findLibrary can use.
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.3.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: "56. LibTomMath"
  10. title changed to:
    tcl_findLibrary doesn't look in arch specific directory
    
  11. type changed to: "RFE"