From owner-freebsd-questions Fri Sep 19 22:23:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA05853 for questions-outgoing; Fri, 19 Sep 1997 22:23:11 -0700 (PDT) Received: from gdi.uoregon.edu ([128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA05837 for ; Fri, 19 Sep 1997 22:23:08 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id WAA00663; Fri, 19 Sep 1997 22:23:06 -0700 (PDT) Date: Fri, 19 Sep 1997 22:23:06 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Richard J. Finn" cc: support@FreeBSD.ORG Subject: Re: library question In-Reply-To: <34218E50.A6C8D508@Houston-InterWeb.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 18 Sep 1997, Richard J. Finn wrote: > I recently installed FreeBSD 2.2.2 on a new machine. (The computer is a > Pentium 2/266 Mghz machine with 64 megs of RAM and a 9 gig SCSI 2 HD... > I just like saying that... not the most powerful machine I've ever used > by far... but still pretty nice) I'm having some sort of trouble with > ld.so and I don't know even where to start to fix it. > > Whenever I run certain programs I get an error that: > ld.so failed: Can't find shared library "(some library)" > > Every time the library file does exists and it's exatactly where it's supposed > to be. > > When I try to initdb for PostgreSQL 6.1.1 I get: > ld.so failed: Can't find shared library "libpq.so.1.0" > When I try to run Netscape I get: > ld.so failed: Can't find shared library "libXt.so.6.0" Are these the Linux versions of these binaries? If so, you'll need to fetch the libraries (or fetch the linux_lib port) and install it. Otherwise, see ldconfig manpage and do ``ldconfig -r''. The first line(s) of output should be: /var/run/ld.so.hints: search directories:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/l ib There can be extra directories depending on what you've loaded. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo