bug-libtool
[Top][All Lists]
Advanced

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

AIX and DESTDIR


From: Laurent
Subject: AIX and DESTDIR
Date: Sun, 1 Jun 2003 16:10:38 -0400

Hi,

I've sent a previous mail about my problem with AIX and DESTDIR. I thought it 
was a problem with the flag -Wl,-brtl but, in fact it's not (I had a previous 
version of the program)

For example, with glib-2.2.1, I can't use DESTDIR to install in a temporary 
directory...
tar xjvf glib-2.2.1.tar.bz2
./configure --prefix=/opt
make
make install DESTDIR=/tmp/install

It fails... In fact, there is for example a dependancy between libglib-2.0.la 
and libgobject-2.0.la, but when libgobject-2.0.la is relinked, libtool is 
looking for libglib-2.0.la in /opt/lib but not in /tmp/install/opt/lib. 
(...)
gcc -shared -o .libs/libgobject-2.0.so.0 .libs/libgobject-2.0.la-15.o  
-Wl,-bnolibpath -Wl,-blibpath:/opt/lib:/usr/lib:/lib  /opt/lib/libglib-2.0.a 
/opt/lib/libintl.a -lc  ${wl}-berok -Wl,-bnoentry 
-Wl,-bexport:.libs/libgobject-2.0.exp
gcc: /opt/lib/libglib-2.0.a: No such file or directory

With libtool-1.5, it's the same...


This problem seems to have been resolved on others platforms (I've no problem 
with Solaris), so I'm looking for any clue to solve definitively this problem

Regards

Laurent Goujon

-- 
=======================================================================
 > Eleve Ingenieur 3A au dpt Telecommunications ENSIMAG/ENSERG -  INPG
 > En echange a l'Ecole Polytechnique de Montreal, Qc - CANADA
=======================================================================
 Adresse :                              Telephone :
   7600 Lajeunesse - Appt 112             +1 (514) 272 2500
   Montreal, Qc - H2R 2Z8
   CANADA
=======================================================================


-- 
=======================================================================
 > Eleve Ingenieur 3A au dpt Telecommunications ENSIMAG/ENSERG -  INPG
 > En echange a l'Ecole Polytechnique de Montreal, Qc - CANADA
=======================================================================
 Adresse :                              Telephone :
   7600 Lajeunesse - Appt 112             +1 (514) 272 2500
   Montreal, Qc - H2R 2Z8
   CANADA
=======================================================================




reply via email to

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