libtool
[Top][All Lists]
Advanced

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

Re: Cygwin List O' Issues...[make install DESTDIR=]


From: Charles Wilson
Subject: Re: Cygwin List O' Issues...[make install DESTDIR=]
Date: Wed, 30 Oct 2002 20:19:39 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2


Geez, I have no idea what happened to the formatting of the preceding message...


2. 'make install DESTDIR=' fails (or relinks to an old version of a dependent lib) when the project contains dependent libraries.

This bug affects all platforms.



Demonstrates the problems with dependent shared libraries
and 'make install DESTDIR=...'

This problem affects all platforms, not just cygwin/windows.

To run, unpack, and
./bootstrap
./configure --prefix=/usr
make
make install DESTDIR=`pwd`/inst

You'll see that after installing libone into inst/usr/lib,
it tries to relink libtwo using -L/usr/lib -lone.

But libone is not IN /usr/lib.  It's in DESTDIR.  And the
link fails.  Worse, in a real life situation, you could
silently SUCCEED, but by linking against an OLD version
of libone in that IS in /usr/lib.

To completely clean up, use
./unbootstrap


--Chuck

Attachment: destdir-relinklib-demo.tar.bz2
Description: Binary data


reply via email to

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