Subject: Re: Problems with ldconfig?
To: Ted Lemon <mellon@hoffman.vix.com>
From: D. Sean Davidson <davidson@zk3.dec.com>
List: port-pmax
Date: 04/24/1997 16:35:53
Ted Lemon wrote:
> 
> I'm trying to get mh to work with the common subroutines in a shared
> library, and I am in fact generating a shared library that works and
> executables that can use it.   I've verified this by setting the
> LD_LIBRARY_PATH environment variable.
> 
> Unfortunately, when I tell ldconfig to look in /usr/local/lib in
> addition to /usr/lib, while it recognizes the mh library (I can tell
> this by passing it the -v flag), it does not put the mh library in the
> /etc/ld.so.cache file, although it does rewrite that file.
> 
> I'm running the 3/15 snapshot binaries.   Has anybody else run into
> this (and, hopefully, found a fix)?
> 
>                                _MelloN_

Try adding the path to your shared library in the /etc/ld.so.conf.
This is how I got Xpm built and fvwm to use it out of /usr/local/lib.

% cat /etc/ld.so.conf
/usr/X11R6.3/lib
/usr/local/lib
% /sbin/ldconfig `cat /etc/ld.so.conf`

Sean