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
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.3.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "56. LibTomMath"
- title changed to:
tcl_findLibrary doesn't look in arch specific directory
- type changed to: "RFE"