Overview
| Artifact ID: | c903492bde72b3da5626d10ca949c3aeb9a01102 |
|---|---|
| Ticket: | 3401063fffffffffffffffffffffffffffffffff
ldconfig was not ran, so libtcl8.5.so was not found later |
| User & Date: | joxy on 2011-09-01 02:18:27 |
Changes
- icomment:
1. openmsx developers said that this tip (echo 'puts [tcl::pkgconfig get libdir,runtime]' | /path/to/tclsh) doesn't work for cross compilation... "in openMSX, we treat every build as a cross build; a native build is just a special cross build"... They also said: "we do find the tclConfig.sh though, but by trying various typical locations, not by executing the interpreter". --- But well, I don't want to discuss this particular issue, this is just for general information, a side thing which seems to be irrelevant to this tracker issue. 2. We discussed this issue with openmsx developers, and decided that openmsx binary's indirect reference to libtcl8.5.so (indirection via ld.so) is saner than a direct hardcoded full-file-name reference (to /usr/local/lib/libtcl8.5.so). So the conclusion I think is that TCL installer (TCL's make install) must configure the system and OS and ld.so so that ld.so would load libtcl8.5.so given the only string "libtcl8.5.so" string at appropriate place --- this string "libtcl8.5.so" must be the only information to be able to perform the indirect loading of "libtcl8.5.so". And currently TCL doesn't provide this. This is a defect. I think it is not the user's program's responsibility to configure the OS: to setup OS indirections related to TCL's internal configuration. And the path to the place where TCL's files reside is part of TCL's internal configuration. TCL must configure the OS so that libtcl8.5.so is findable. Do you agree?
- login: "joxy"
- mimetype: "text/plain"
- username: "joxy"