Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 1997 15:25:53 -0500
From:      "Richard J. Finn" <rfinn@Houston-InterWeb.COM>
To:        support@freebsd.org
Subject:   library question
Message-ID:  <34218E50.A6C8D508@Houston-InterWeb.COM>

next in thread | raw e-mail | index | archive | help
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"

	Yet I can do a ls on the directory I'm pointing to with the PGLIB env setting
(what initdb looks in for the libraries) and there the file is.

	When I try to run Netscape I get:
	ld.so failed: Can't find shared library "libXt.so.6.0"

	When I do a locate on that file I get:
	/usr/X11R6/lib/libXt.so.6.0
	/usr/compat/linux/usr/X11R6/lib/libXt.so.6.0
	/usr/compat/linux/usr/i486-linuxaout/lib/libXt.so.6.0

	And I also have /usr/X11 symlinked to /usr/X11R6.


	When I do a locate on ld.so I get:
	/usr/compat/linux/etc/ld.so.cache
	/usr/compat/linux/etc/ld.so.conf
	/usr/compat/linux/lib/ld.so
	/usr/compat/linux/lib/ld.so.1.7.14
	/usr/libexec/ld.so
	/usr/share/man/cat1/ld.so.1.gz
	/usr/share/man/man1/ld.so.1.gz
	/var/run/ld.so.hints


	Any ideas?

-- 
Richard J. Finn
rfinn@houston-interweb.com
CTO - Houston InterWeb Design, Inc.
http://www.houston-interweb.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34218E50.A6C8D508>