From owner-freebsd-questions Sun Dec 13 14:07:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15209 for freebsd-questions-outgoing; Sun, 13 Dec 1998 14:07:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15204 for ; Sun, 13 Dec 1998 14:07:53 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kakapo.pinnacle.co.nz (8.9.1/8.9.1) with SMTP id LAA16778; Mon, 14 Dec 1998 11:06:32 +1300 (NZDT) Date: Mon, 14 Dec 1998 11:06:32 +1300 (NZDT) From: Jonathan Chen 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: [...] > $ /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) [...] > $ 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 On my system, it's actually: tawa-lib,11:03am> uname -r 2.2.7-RELEASE tawa-lib,11:03am> file /usr/X11R6/lib/libXt.so.6.0 /usr/X11R6/lib/libXt.so.6.0: FreeBSD/i386 compact demand paged shared library not stripped ie you could fix it by: > mv libXt.so.6 libXt.so.6.0 Looks like all your X share-libs have a missing minor number. -- Jonathan Chen Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message