Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 22:09:01 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        emulation@FreeBSD.org, freebsd-ports@freebsd.org, alex2@tecnik93.com
Subject:   shared libs trouble with linux binaries
Message-ID:  <20050822220901.5ca28e3c@it.buh.tecnik93.com>

next in thread | raw e-mail | index | archive | help

 [ 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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050822220901.5ca28e3c>