This is the mail archive of the
mailing list for the Cygwin project.
Re: libtool: make install DESTDIR + dependent shared libraries =relink problem
- From: Tim Mooney <mooney at dogbert dot cc dot ndsu dot NoDak dot edu>
- To: "Steve M. Robbins" <steven dot robbins at videotron dot ca>
- Cc: cygwin at cygwin dot com, libtool at gnu dot org
- Date: Thu, 8 May 2003 12:14:33 -0500 (CDT)
- Subject: Re: libtool: make install DESTDIR + dependent shared libraries =relink problem
- References: <3EB9FD23.email@example.com> <20030508130220.GA27065@nyongwa.montreal.qc.ca>
In regard to: Re: libtool: make install DESTDIR + dependent shared...:
>On Thu, May 08, 2003 at 02:45:55AM -0400, Charles Wilson wrote:
>> When using 'make install DESTDIR' to build an installable package
>> (cygwin tarballs, linux rpm's, etc), dependent libraries get relinked
>> against 'old' versions in <prefix> and not against the 'new' version in
>> <destdir>/<prefix>. See attached testcase, and problem description below.
>What version of libtool are you using?
>DESTDIR installs with interdependent libraries has been a problem
>for years with libtool 1.4 and patches have been floating about.
>I was under the impression that it had been fixed for libtool 1.5.
>Is that not true?
The obvious part of the problem was fixed in 1.4.3 and 1.5. That's not
what Charles (and several others over the past couple months, myself
included) is reporting.
The patches that were incorporated into libtool make it such that libtool
can finally find libraries installed under DESTDIR *iff* the
libraries aren't found in some other location first. Basically, the
DESTDIR location is searched last, so if you have older versions of the
libraries already installed on your system, libtool will mistakenly
(re)link your libraries against those older versions.
I would imagine that most people that are using DESTDIR installs don't
even realize what's going on.
Tim Mooney firstname.lastname@example.org.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html