Date: Mon, 14 Dec 1998 06:53:37 +0100 (CET) From: List User <listuser@netspace.net.au> To: freebsd-questions@FreeBSD.org Message-ID: <199812140553.GAA06287@doorway.home.lan>
next in thread | raw e-mail | index | archive | help
Newsgroups: freebsd.questions Path: root From: Vladimir Kushnir <kushn@mail.kar.net> Subject: Re: dynamically linked bin cant find shared libs Content-Type: TEXT/PLAIN; charset=US-ASCII Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with ESMTP id AAA14854; Mon, 14 Dec 1998 00:01:39 +0200 (EET) (envelope-from kushn@mail.kar.net) To: saad <bonga> Sender: owner-freebsd-questions@FreeBSD.ORG Organization: Private News Host Precedence: bulk Message-ID: <Pine.BSF.4.05.9812132354390.14341-100000@kushnir.kiev.ua> Delivered-To: vmailer-questions@freebsd.org X-Uidl: 10b4ec2aa89f73e18fbea529514d6603 X-Loop: FreeBSD.ORG Mime-Version: 1.0 X-Sender: volodya@kushnir.kiev.ua In-Reply-To: <Pine.BSF.4.05.9812131635160.15967-100000@localhost.webbernet.net> Cc: freebsd-questions Date: Sun, 13 Dec 1998 22:01:09 GMT 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 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?199812140553.GAA06287>