Libtool search path

高飛 singingsky at
Wed Aug 3 09:49:53 PDT 2011

Excuse me. I am trying to build Gnome 3 in /opt/gnome. I've added
/opt/gnome/usr/lib/pkgconfig to PKG_CONFIG_PATH and /opt/gnome/usr/lib
to "".
I get glib 2.24.7 installed to /opt/gnome and I am sure there is
"" file in /opt/gnome/usr/lib.
But when I try to build GConf, error occurs and it seems that libtool
keeps trying to find "" file in /usr/lib. Here's the
error message:

/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall
-version-info 5:5:1 -no-undefined  -o -rpath
/opt/gnome/usr/lib gconf-internals.lo gconf-backend.lo
gconf-changeset.lo gconf-error.lo gconf-listeners.lo gconf-locale.lo
gconf-schema.lo gconf-sources.lo gconf-value.lo gconf.lo
gconf-client.lo gconf-enum-types.lo GConfX-common.lo GConfX-skels.lo
GConfX-stubs.lo   -pthread -Wl,--export-dynamic -L/opt/gnome/usr/lib
-lgio-2.0 -lgmodule-2.0 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lrt
/bin/grep: /usr/lib/ No such file or directory
/bin/sed: can't read /usr/lib/ No such file or directory
libtool: link: `/usr/lib/' is not a valid libtool archive

How can I adjust the path?
Thanks for your help.
Tester He

More information about the blfs-support mailing list