From owner-freebsd-questions Sun Dec 13 22:55:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06345 for freebsd-questions-outgoing; Sun, 13 Dec 1998 22:28:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06132 for ; Sun, 13 Dec 1998 22:27:42 -0800 (PST) (envelope-from listuser@netspace.net.au) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id HAA08907 for ; Mon, 14 Dec 1998 07:27:30 +0100 (CET) Received: from doorway.home.lan (t6o1p59.telia.com [195.67.241.119]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id HAA19367 for ; Mon, 14 Dec 1998 07:27:29 +0100 (CET) Received: (from listuser@localhost) by doorway.home.lan (8.8.8/8.8.7) id GAA06287 for freebsd-questions@FreeBSD.org; Mon, 14 Dec 1998 06:53:37 +0100 (CET) (envelope-from listuser) Date: Mon, 14 Dec 1998 06:53:37 +0100 (CET) From: List User Message-Id: <199812140553.GAA06287@doorway.home.lan> To: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG Newsgroups: freebsd.questions Path: root From: Vladimir Kushnir 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 Sender: owner-freebsd-questions@FreeBSD.ORG Organization: Private News Host Precedence: bulk Message-ID: 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: 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