Bob Friesenhahn wrote:
On Fri, 3 Apr 2009, Bernd Speiser wrote:

I am using autotools on openSUSE 11.0 x86_64 where I have a couple of libraries (notably the X libraries) installed as both 32 and 64 bit versions. I seem to have a problem which has been discussed several times on this list (libtool tries to link the 32 bit libraries instead of the 64 bit ones, resulting in a `could not read symbols: File in wrong format' error), however, all the ideas suggested there do not seem to work here.

This are the versions of the autotools
autoconf: 2.61
automake: 1.10.1
libtool: 1.5.26

It seems that your libtool is out of date. The current release is 2.2.6. It is likely to work better.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Bob,
thanks for this info. 1.5.26 is the default for openSUSE 11.0. However, I have installed libtool version 2.2.6 on my system now. With this, after regeneration of of the aclocal.m4 files, I still get an error message, although a different one:

libtool: link: cannot find the library `/usr/lib/libXfixes.la' or unhandled argument `/usr/lib/libXfixes.la'

Here is the result of a call to `locate libXfixes':
/usr/lib/libXfixes.so.3
/usr/lib/libXfixes.so.3.1.0
/usr/lib64/libXfixes.a
/usr/lib64/libXfixes.la
/usr/lib64/libXfixes.so
/usr/lib64/libXfixes.so.3
/usr/lib64/libXfixes.so.3.1.0
So, there still for this library the incorrect path is used. Or am I doing something wrong?
Best regards
Bernd

--
=======================================================================
Bernd Speiser
Institut für Organische Chemie
Auf der Morgenstelle 18
temporary address: Auf der Morgenstelle 15
D-72076 Tübingen
Germany
phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory)
       +49-7071-2972098 (secretary)
fax:   +49-7071-295518
e-mail: bernd.spei...@uni-tuebingen.de
Internet: http://www.uni-tuebingen.de/speiser
=======================================================================


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to