[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/
Re: sys_lib_dlsearch_path_spec set incorrectly on 64bit linux with /usr/lib64
Tue, 22 Dec 2009 15:16:24 +0000 (UTC)
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.
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
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.