From owner-freebsd-questions Wed Apr 2 06:59:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA03234 for questions-outgoing; Wed, 2 Apr 1997 06:59:47 -0800 (PST) Received: from cyber2.servtech.com (root@cyber2.servtech.com [199.1.22.12]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA03229 for ; Wed, 2 Apr 1997 06:59:45 -0800 (PST) Received: from jh2.tor.servtech.com (jh2.tor.servtech.com [204.181.8.196]) by cyber2.servtech.com (8.8.5/8.8.5) with SMTP id JAA17724 for ; Wed, 2 Apr 1997 09:59:42 -0500 (EST) Message-ID: <33417B06.15FB7483@servtech.com> Date: Tue, 01 Apr 1997 16:15:50 -0500 From: Jen and Luke X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-970209-SNAP i386) MIME-Version: 1.0 To: freebsd-questions@FREEBSD.ORG Subject: ldconfig problems References: <199703312109.PAA11097@horton.iaces.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul T. Root wrote: > > In a previous message, random junk said: > > i tried all the suggestions posted here. the permissions were fine. copying > > the library from /usr/X11R6/lib to /usr/local/bin didn't fix it. no amount of > > mangling LD_LIBRARY_PATH helped. > > > > the solution - halt the system and do a cold power cycle. (lucky coincidental > > timing - i had to move my machine to another desk.) > > > > when i powered it back up, everything worked perfectly. and ldd shows that it > > is picking up libXmu from /usr/X11R6/lib, not /usr/local/lib! > > > > go figure. > > Sounds like a ldconfig /usr/X11/lib /usr/local/lib > probably would have done the trick. > I have a had a similar problem ocasionally, I have usr/X11/lib added with ldconfig at boot, and a few times while trying to compile some programs it said "-lX11 not found" when compiling the program. I ran ldconfig /usr/X11/lib /usr/local/lib /usr/lib and it still didnt work. when i added -L/usr/X11/lib to the CFLAGS it did work though. I'm not sure why it happened, just thought I would mention it. Luke