[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AIX, -Wl,-brtl and DESTDIR
From: |
Laurent |
Subject: |
AIX, -Wl,-brtl and DESTDIR |
Date: |
Wed, 14 May 2003 00:49:26 -0400 |
Hi,
I'm trying to build glib-2.2.1 on AIX 5L. To build the modules, I'm using the
-Wl,-brtl option (as LDFLAGS), but when I'm trying to install glib in a
different location (with the DESTDIR option), libtool fails to relink the
librairies...
Here the last messages from make
/bin/sh ../libtool --mode=install /opt/bin/install -c libgobject-2.0.la
/tmp/install/opt/lib/libgobject-2.0.la
libtool: install: warning: relinking `libgobject-2.0.la'
(cd /home/goujon/glib-2.2.1/gobject; /bin/sh ../libtool --mode=relink gcc -g
-O2 -Wall -L/opt/lib -Wl,-brtl -o libgobject-2.0.la -rpath /opt/lib
-version-info 200:1:200 -export-dynamic gboxed.lo gclosure.lo genums.lo
gobject.lo gparam.lo gparamspecs.lo gsignal.lo gsourceclosure.lo gtype.lo
gtypemodule.lo gtypeplugin.lo gvalue.lo gvaluearray.lo gvaluetransform.lo
gvaluetypes.lo ../glib/libglib-2.0.la -lintl -inst-prefix-dir /tmp/install)
generating symbol list for `libgobject-2.0.la'
/bin/nm -B gboxed.o gclosure.o genums.o gobject.o gparam.o gparamspecs.o
gsignal.o gsourceclosure.o gtype.o gtypemodule.o gtypeplugin.o gvalue.o
gvaluearray.o
gvaluetransform.o gvaluetypes.o | sed -n -e 's/^.*[ ]\([BCDT][BCDT]*\)[
][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort
| uniq > .libs/libgobject-2.0.exp
gcc -o .libs/libgobject-2.0.so.0.200.1 gboxed.o gclosure.o genums.o gobject.o
gparam.o gparamspecs.o gsignal.o gsourceclosure.o gtype.o gtypemodule.o
gtypeplugin.o gvalue.o gvaluearray.o gvaluetransform.o gvaluetypes.o
-Wl,-blibpath:/opt/lib:/usr/lib:/lib -L/opt/lib /opt/lib/libglib-2.0.so
/opt/lib/libintl.a -lc -Wl,-brtl `if test "x-berok" != "x"; then echo
"-Wl,-berok"; else :; fi` -Wl,-bnoentry -Wl,-bexport:.libs/libgobject-2.0.exp
-shared
gcc: /opt/lib/libglib-2.0.so: No such file or directory
libtool: install: error: relink `libgobject-2.0.la' with the above command
before installing it
As you can see, libtool has correctly detected the DESTDIR (/tmp/install) but
tries to build libgobject-2.0.so.0.200.1 from /opt/lib/libglib-2.0.so which
doesn't exist because it hasn't been installed...
In fact, this problem occurs in several gnome packages, and only with
LDFLAGS=-Wl,-brtl and make install DESTDIR=/foo/bar
Any clue ?
Laurent
--
=======================================================================
> 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
=======================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AIX, -Wl,-brtl and DESTDIR,
Laurent <=