libtool
[Top][All Lists]
Advanced

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

libtool finding wrong version of library


From: John Cartwright
Subject: libtool finding wrong version of library
Date: Mon, 21 Jan 2008 11:11:20 -0700
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

Hello All,

I'm using libtool 1.5.22 on a RHEL 5 64-bit system. My problem is that libtool seems to be picking up an older 32-bit version of a library rather than the newer 64-bit version that I need. I've tried putting the correct one first in the LD_LIBRARY_PATH, but that doesn't seem to help. Can someone suggest a way that I can influence libtool's behavior on this? In the example below, I'd like libtool to use the libexpat.so from /extra/contrib/expat-2.0.1/lib rather than the one from /extra/contrib/oracle/product/10.2.0/db_1/lib.

Thanks!

-- john

libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o .libs/libgdal.la.lnkscript -Wl,-rpath -Wl,/extra/contrib/geos-2.2.3/lib -Wl,-rpath -Wl,/extra/contrib/oracle/product/10.2.0/db_1/lib -Wl,-rpath -Wl,/extra/contrib/libdap-3.7.8/lib -Wl,-rpath -Wl,/extra/contrib/geos-2.2.3/lib -Wl,-rpath -Wl,/extra/contrib/oracle/product/10.2.0/db_1/lib -Wl,-rpath -Wl,/extra/contrib/libdap-3.7.8/lib -L/extra/contrib/geos-2.2.3/lib /extra/contrib/geos-2.2.3/lib/libgeos_c.so /extra/contrib/geos-2.2.3/lib/libgeos.so -lsqlite3 -L/extra/contrib/oracle/product/10.2.0/db_1/lib -lclntsh -lnnz10 -lodbc -lodbcinst -L/extra/contrib/expat-2.0.1/lib /extra/contrib/oracle/product/10.2.0/db_1/lib/libexpat.so -L/extra/contrib/xerces-c-2.7.0/lib -lxerces-c -L/extra/contrib/netcdf-3.6.2 -L/extra/contrib/netcdf-3.6.2/lib /extra/contrib/netcdf-3.6.2/lib/libnetcdf.a -L/usr/lib64 -lpq -lrt -L/extra/contrib/lib -L/extra/contrib/libdap-3.7.8/lib /extra/contrib/libdap-3.7.8/lib/libdapserver.so /extra/contrib/libdap-3.7.8/lib/libdapclient.so -L/usr/kerberos/lib64 /extra/contrib/libdap-3.7.8/lib/libdap.so -lxml2 -lpthread -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lssl -lcrypto -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o -Wl,-soname -Wl,libgdal.so.1 -o .libs/libgdal.so.1.12.0 /extra/contrib/oracle/product/10.2.0/db_1/lib/libexpat.so: could not read symbols: File in wrong format






reply via email to

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