libtool-patches
[Top][All Lists]
Advanced

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

Re: libtool does not recognize "/usr/lib64" as default location for libr


From: Peter O'Gorman
Subject: Re: libtool does not recognize "/usr/lib64" as default location for libraries
Date: Wed, 23 Jun 2010 09:17:04 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4

On 06/23/2010 09:12 AM, Olly Betts wrote:


I posted just such a patch exactly 3 years ago today (coincidentally) -
here's the thread:

http://thread.gmane.org/gmane.comp.gnu.libtool.general/8339/focus=8345

Back then Ralf said "Olly's solution should not be forgotten, though", but
it seems it has been.

I've been using this code in Xapian to override libtool's version for a
couple of years now, with no reported problems.

The only downside is that it can be quite slow to get the list from
ldconfig (I haven't investigated why or if this could be improved - it's
interesting that it always seems quick if run a second time which suggests
either a cache issue, or that there's a cached value being updated), but
the speed of the current approach seems greatly outweighed by the wrong
answers it gives.

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

Please do, you're obviously correct, the right answer slowly is always better than the wrong one quickly.

Peter




reply via email to

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