On Wed, May 19, 2004 at 07:06:00AM -0400, Neal D. Becker wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Is this a known problem?
I'm trying to build apt-0.5.15cnc6 from srpm on suse9.1 amd64.
make[1]: Entering directory `/home/nbecker/RPM/BUILD/apt-0.5.15cnc6/lua' libtool --mode=link gcc -O2 -g -o lua/lua lua/lua_lua-lua.o liblua.la -lz - -lbz2 gcc -O2 -g -o lua/lua lua/lua_lua-lua.o ./.libs/liblua.al -lm -ldl - -lz /usr/lib/libbz2.so ^[[0m/usr/lib/libbz2.so: could not read symbols: Invalid operation
As you see, libtool... -lbz2 decided to usr /usr/lib/libbz2.so instead of /usr/lib64.
There are both /usr/lib/libbz2.la and /usr/lib64/libbz2.la.
I have traced the problem as far as /usr/bin/libtool reading /usr/lib/libbz2.la instead of /usr/lib64 version.
Questions:
1) Is this a bug in libtool amd64?
Partially.
2) Should I report it?
3) Does anyone have a patch?
4) I can't possibly be the first one to notice this, right?
You have two .la files, which libtool does not yet grok. Run configure with LDFLAGS="-L/usr/lib64" ./configure ... , this will probably help. Ciao, Marcus