On Wed, Dec 30, 2009 at 04:06:34PM +0000, Christian Weisgerber wrote: > Toni Mueller <[email protected]> wrote: > > > I have now discovered that I overlooked the setting of /usr/local/lib > > in /etc/rc. But it seems to mean that I have to re-run ldconfig > > every time I install a new shared library, or programs depending on it > > won't find it. > > Yes. > Note that if you install a port/package, this is automatically taken > care of. > > > Thanks for the idea. It turns out that my systems emit long lists of > > directories that include directories within my ports tree, from ports I > > built. > > That shouldn't happen. > > > I also don't see how these directories got in the search path in > > the first place. > > Something has called "ldconfig -m" during the build. And you can use ldconfig -U to remove them.
I don't know about a "long list of directories". These days, there are at most 5 ports that do this kind of annoying shit. Toni, this looks like hyperbolic speech to me. 4 or 5 doesn't amount to "long list".

