[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys_lib_dlsearch_path_spec set incorrectly on 64bit linux with /usr/

From: Olly Betts
Subject: Re: sys_lib_dlsearch_path_spec set incorrectly on 64bit linux with /usr/lib64
Date: Tue, 22 Dec 2009 15:16:24 +0000 (UTC)
User-agent: slrn/pre1.0.0-11 (Linux)

On 2009-12-17, John Lightsey <address@hidden> wrote:
> I found a thread on the libtool mailing list where this problem was
> discussed in Jan 2009.
> http://lists.gnu.org/archive/html/libtool/2009-01/msg00039.html

This reminds me of a patch I sent in some time ago, to use ldconfig to
get the actual list of directories being searched.  Currently libtool
looks at ld.so.conf which gives you some, but the default list varies -
in particular things like /usr/lib64 are present on some
distros/architecture combinations.

Note that Dan's patch in the post linked to above isn't really correct -
64-bit Debian and Ubuntu don't search /lib64 and /usr/lib64 by default,
though they are (by default at least) symlinks to the non-suffixed
versions so specifying them is probably fairly harmless.

Here's the thread:


I'm mainly resending it since Ralf said "Olly's solution should not be
forgotten, though" in that thread, and I think it probably has been by

I've been using this code in Xapian to override libtool's version for a
couple of years without any reported problems.

I'm happy to update it for current libtool and write a ChangeLog entry,
if the patch is wanted.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]