Subject: Re: X library path, etc.
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 01/14/2002 18:35:56
In message <Pine.NEB.4.30.0201142029470.8263-100000@triton.invisible.ca>, "Jare
d D. McNeill" writes:
>Here's one big problem with having these paths in ld.so.conf:

Hmm.

> I have the following files:

>  /usr/pkg/lib/libfoo.so
>  /usr/X11R6/lib/libfoo.so

> I have two applications, 'PackageManager' and 'GtkSushi'. The former
> requires the first library, and the latter requires the X11R6 one. If we
> have these paths in ld.so.conf, both will use the same ("first match")
> and one of them will lose.

Won't they use -Wl,-Rpath, since they care?  I assume that "-Wl,-Rpath" is put
in front of the ld.so.conf path, so at worst, we have one or two programs
which *still* need the option - but *HUNDREDS* which don't!

Meanwhile, how many such library name clashes do we actually have?  Any?

-s