Subject: Re: x ignoring LD_LIBRARY_PATH, /etc/rc
To: Rick Hawkins <rhawkins@iastate.edu>
From: Steven Campbell <campbel@istar.ca>
List: port-mac68k
Date: 04/13/1997 19:45:57
Rick, what i've done, instead of setting LD_LIBRARY_PATH, is put a file
named ld.so.conf into /etc. My /etc/ld.so.conf looks like this:
/usr/lib
/usr/X11R6/lib
and in my /etc/rc, I've added verbose logging for ldconfig so that it
gives me a long list of the shared libs it finds when it runs.
The line in my /etc/rc is:
ldconfig -v `cat /etc/ld.so.conf`
with all of the "removing linkage editor in case it's corrupt" stuff that
runs just before it.
All of this stuff is at about lines 160-175 on my machine, and yours will
be close (I hope).
Hope this helps,
Steven Campbell
>Subject: x ignoring LD_LIBRARY_PATH, /etc/rc
>Sent: 13/4/97 7:36 pm
>Received: 13/4/97 7:35 pm
>From: Rick Hawkins, rhawkins@iastate.edu
>To: Port-mac68k, port-mac68k@NetBSD.ORG
>
>
>I've rearranged the machine to get more room, and partway reinstalled.
>
>I now have 2 20 meg partions, for / and swap, on sd0, and 80 on sd2 for
>/usr.
>
>I've put 1.2.1 on this time, and have found a couple of apparent
>differences (master.passwd rather than passwd).
>
>But what I can't beat is xinit. It is giving me the libXext.so.6.1 not
>found error. I checked the faq again, as this sounded familiar. YEs,
>i'd fought it before, and copied the old /etc/rc to the new /etc, and
>rebooted. Still no dice. So i tried the "setenv LD_LIBRARY_PATH =
>/usr/X11R6/lib", and still none. "ls $LD_LIBRARY_PATH" shows that the
>file is there. I've rebooted a couple of times, and still the problem
>persists. does this make any sense?
>
>rick
>
>
>