Sergei Golovan (sgolo...@nes.ru) wrote:

> As far as I can see, you're using your own locally built Tcl which
> can't find the Tcl packages which come with Debian because they are
> placed in a different location.

titan:~$ strace -e open,fstat64 /usr/bin/tclsh8.6
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/local/lib/libtcl8.6.so", O_RDONLY|O_CLOEXEC) = 3
[...]

This appears to be the real issue.  The locally installed tcl (using
the default prefix=/usr/local) drops a libtcl8.6.so in /usr/local/lib
and then ld.so/ldconfig caches it, so /usr/bin/tclsh8.6 uses it.

So I guess the fix is to manually remove the locally installed tcl
(very carefully!) and rebuild it with some other prefix.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
g...@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Reply via email to