libtool
[Top][All Lists]
Advanced

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

Re: [sr #107416] relink with a DESTDIR install mistakenly links against


From: Tim Mooney
Subject: Re: [sr #107416] relink with a DESTDIR install mistakenly links against old installed libraries rather than those in DESTDIR
Date: Fri, 2 Jul 2010 15:53:39 -0500 (CDT)
User-agent: Alpine 2.01 (SOC 1266 2009-07-14)

In regard to: Re: [sr #107416] relink with a DESTDIR install mistakenly...:

On Fri, 2 Jul 2010, Tim Mooney wrote:

This issue affects all versions of libtool from 2.2.10 going back to the
initial versions that added support for DESTDIR installs.

This does not seem to be a libtool bug:

% grep DESTDIR libtool
%

Since libtool does not handle DESTDIR, then it must be the
responsibility of a higher-level, such as the makefile.  If you are
using Automake, maybe there is a deficiency in your project's
Makefile.am, or even Automake itself.  There is a known Automake bug in
that libraries need to be listed in a particular order so that old
installed libraries won't be used by mistake.

Take a look at a few of the mailing list threads I quoted, especially
the one from Charles Wilson.  Then check out the -inst-prefix-dir code
in libtool.  This is where the DESTDIR support is.

Tim
--
Tim Mooney                                  address@hidden
Enterprise Computing & Infrastructure       701-231-1076 (Voice)
Room 242-J6, IACC Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



reply via email to

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