Overview
| Artifact ID: | 1a12e6aef4817768a5df290207f273c723efbce2 |
|---|---|
| Ticket: | 3401063fffffffffffffffffffffffffffffffff
ldconfig was not ran, so libtcl8.5.so was not found later |
| User & Date: | joxy on 2011-08-30 22:43:22 |
Changes
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- comment changed to:
ubuntu 10.04 latest repos contain tcl 8.4.*; my machine had them installed. then (without uninstallation of tcl 8.4.*), i built tcl 8.5.10 from sources on ubuntu 10.04 (ubuntu was updated with latest stuff). tcl build line used was: $ ./configure --enable-threads --enable-shared --enable-symbols && make && make test && sudo make install all completed successfully. then, the program using tcl was built successfully. When ran, this program gave: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory This seems to be a bug in tcl's make install: it didn't ran ldconfig at the end of installation (i.e. at the end of make install)... But I don't know for sure if this is tcl's duty to run ldconfig or not. When I consulted ld.so.conf.d, it had /usr/local/lib listed in libc.conf: $ cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf $ cat /etc/ld.so.conf.d/libc.conf | grep local /usr/local/lib $ sudo ldconfig $ After that, the program referencing libtcl8.5.so found it successfully.
- foundin changed to: "obsolete: 8.5.10"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "joxy"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
ldconfig was not ran, so libtcl8.5.so was not found later
- type changed to: "Bug"