From owner-freebsd-questions Sun Dec 13 14:07:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14983 for freebsd-questions-outgoing; Sun, 13 Dec 1998 14:07:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kar.net (n188.cdialup.kar.net [195.178.130.188]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14960 for ; Sun, 13 Dec 1998 14:06:43 -0800 (PST) (envelope-from kushn@mail.kar.net) 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) Date: Mon, 14 Dec 1998 00:01:09 +0200 (EET) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: saad cc: freebsd-questions@FreeBSD.ORG Subject: Re: dynamically linked bin cant find shared libs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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