Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 8 May 2003 12:14:33 -0500 (CDT) From: Tim Mooney To: "Steve M. Robbins" cc: cygwin AT cygwin DOT com, libtool AT gnu DOT org Subject: Re: libtool: make install DESTDIR + dependent shared libraries = relink problem In-Reply-To: <20030508130220.GA27065@nyongwa.montreal.qc.ca> Message-ID: References: <3EB9FD23 DOT 1050704 AT ece DOT gatech DOT edu> <20030508130220 DOT GA27065 AT nyongwa DOT montreal DOT qc DOT ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 and not against the 'new' version in >> /. 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 -- Tim Mooney mooney AT dogbert DOT cc DOT ndsu DOT NoDak DOT 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/