On 2015-09-04, Alexander Bluhm <[email protected]> wrote:

> In an environment without ld.so.hints, I had the problem that loading
> libxml2.so failed because it did not find liblzma in /usr/local/lib.
> Adding that directory to -rpath when linking libxml2.so helps.
>
> Is this approach correct?

Well... do you want to apply a similar change to the hundreds(?)
of libraries in ports that link to other libraries?  If not, what
makes libxml2 special?  For instance, libintl won't find libiconv
in the same situation.

I think the original idea was that we do NOT use -rpath, but the
policy hasn't been very clear and not really enforced.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to