From owner-freebsd-questions Mon Dec 21 23:51:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14392 for freebsd-questions-outgoing; Mon, 21 Dec 1998 23:51:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14381 for ; Mon, 21 Dec 1998 23:51:25 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.10 #2) id 0zsGUd-00013t-00; Tue, 22 Dec 1998 01:20:11 +0000 Date: Tue, 22 Dec 1998 01:20:11 +0000 From: Ben Smithurst To: larry_nilsen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ld.so failed Message-ID: <19981222012011.A4063@scientia.demon.co.uk> References: <367EC0EC.4714B3EF@eee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <367EC0EC.4714B3EF@eee.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG larry_nilsen wrote: > 1) when i type at the prompt # startx this is my error > message > ld.so failed : Cant find shared library "libXmu.so.6.0 [...] > ONE thing i didnt mention is that when i try to start any x > program it says im missing lib etc..etc.. shared librarys > all my needed shared librarys are in /usr/X11R6/lib > but for some reason the ld.so utility fails to find them. ld.so reads a hints file in /var/run, which is created by ldconfig at boot time. Are your X libraries in the hints file? Run this... $ ldconfig -r | grep X11 If that doesn't show anything, add /usr/X11R6/lib to the ldconfig_paths variable in /etc/rc.conf, and do this as root: # ldconfig -m /usr/X11R6/lib (rebooting would have the same effect, but a minor config change like that would only require a reboot in the Microsoft world. Reboots are for hardware/kernel/whole-OS upgrades with Unix.) -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message