Date: Mon, 14 Dec 1998 00:01:09 +0200 (EET) From: Vladimir Kushnir <kushn@mail.kar.net> To: saad <bonga@doxx.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dynamically linked bin cant find shared libs Message-ID: <Pine.BSF.4.05.9812132354390.14341-100000@kushnir.kiev.ua> In-Reply-To: <Pine.BSF.4.05.9812131635160.15967-100000@localhost.webbernet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Dec 1998, saad wrote: > > i just installed /usr/ports/www/netscape45-communicator but when i run the > binary, i get a linkage error: > > $ /usr/local/netscape-4.5/communicator-4.5.bin > ld.so failed: Can't find shared library "libXt.so.6.0" > > $ ldd communicator-4.5.bin > communicator-4.5.bin: > -lXt.6 => not found (0x0) > -lXmu.6 => not found (0x0) > -lXext.6 => not found (0x0) > -lX11.6 => not found (0x0) > -lSM.6 => not found (0x0) > -lICE.6 => not found (0x0) > -lg++.4 => /usr/lib/aout/libg++.so.4.0 (0x20b5b000) > -lm.2 => /usr/lib/aout/libm.so.2.0 (0x20b97000) > -lstdc++.2 => /usr/lib/aout/libstdc++.so.2.0 (0x20bb1000) > -lc.3 => /usr/lib/aout/libc.so.3.1 (0x20be7000) > > $ ldconfig -r |grep Xt.6 > 47:-lXt.6 => /usr/X11R6/lib/libXt.so.6 > > $ file /usr/X11R6/lib/libXt.so.6 > /usr/X11R6/lib/libXt.so.6: ELF 32-bit LSB shared object, Intel 80386, > version 1 (FreeBSD), not stripped > This is an ELF library, while netscape's looking for aout ones. Have you got aout compatibility X libs (say, in /usr/X11R6/lib/aout)? If not, you'll have to install them. It seems, the binary packages for XFree86 contain them as well as ELF. Otherwise, you'll have to recompile XFree86 port and when configuring answer "yes" when asked if you want these libraries. > and nm reads this file fine ... but its not linking when i run the > netscape binary. what am i missing? > > thanks a lot for any input! :) > saad. > Hope this helps, Vladimir ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812132354390.14341-100000>