Overview
| Artifact ID: | 9523a86b6155feacbae6f1ec6e87e19338ead9fc |
|---|---|
| Ticket: | 2853871fffffffffffffffffffffffffffffffff
$::auto_path doesn't include /usr/lib64 (again) |
| User & Date: | eriklns on 2009-09-09 23:56:41 |
Changes
- icomment:
> What is the value of ::tcl_pkgPath ? /usr/local/lib > Why does it not include the correct > directories for packages, both arch-specific > and non-arch-specific, "out of the box" ? Good question! ;-) > What values of --prefix and --exec_prefix > (and perhaps --libir ?) > are used to configure Tcl in your build? The configure command line was: configure --disable-symbols --libdir=/usr/local/lib64 No values were provided on the configure command line for --prefix and --exec-prefix. Therefore, they get their default values in the Makefile, being: /usr/local > Where is libtcl8.4.so installed? in /usr/local/lib64 My superficial analysis of the situation: It appears that --libdir=/usr/local/lib64 has been picked up correctly by the installation procedure in the Makefile. Tcl files are in the same places as for the Tcl 8.5.7 and 8.6b1 distributions which do not exhibit this issue. It's just that tcl_pkgPath is lacking /usr/local/lib64 (which it has in the Tcl 8.5.7 and 8.61 installations). That causes ::auto_path to be computed incorrectly (which, in turn, causes many packages not to be found). I checked that correcting ::auto_path to hold /usr/local/lib64 (after it is computed in init.tcl) made package lookup work as expected (hence my quick conclusion that there is nothing wrong with the Tcl installation).
- login: "eriklns"
- mimetype: "text/plain"
- username: "eriklns"