shared libs trouble with linux binaries
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Mon Aug 22 19:09:12 GMT 2005
[ please keep the cc ]
Hi,
this is a clean 5.4 desktop with latest ports, installed with -DBATCH
and probably I've missed something, because:
> acroread
/usr/X11R6/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
> linux-opera
/usr/X11R6/share/linux-opera/bin/opera: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
> locate libXt.so
/usr/X11R6/lib/libXt.so
/usr/X11R6/lib/libXt.so.6
/usr/compat/linux/usr/X11R6/lib/libXt.so.6
/usr/compat/linux/usr/X11R6/lib/libXt.so.6.0
> ll /usr/compat/linux/usr/X11R6/lib/libXt.so.6
lrwxr-xr-x 1 root wheel 12 Jul 25 19:59 /usr/compat/linux/usr/X11R6/lib/libXt.so.6 -> libXt.so.6.0
Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH
in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh
access to the machine now), hence now it dies with Error: Can't open display:
I guess I could create a /etc/ld-elf.so.conf to fix the problem,
but on other desktops I don't have it and I can't find the difference
with this one.
Could anyone point me in the right direction ?
Thanks,
--
IOnut
Unregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
More information about the freebsd-ports
mailing list