apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommi Mäkitalo <to...@epgmbh.de>
Subject problem compiling apr-util-1.1.2 with suse 9.3 x86-64
Date Fri, 06 May 2005 19:29:30 GMT
Hi,

I try to compile apr-util-1.1.2. After unpacking, ./configure and make I get:

make[1]: Entering directory `/home/tommi/Projekte/apr-util-1.1.2'
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=link  gcc -g -O2 
-pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   
-I/home/tommi/Projekte/apr-util-1.1.2/include 
-I/home/tommi/Projekte/apr-util-1.1.2/include/private  
-I/usr/local/apr/include/apr-1    -version-info 1:1:1    -o libaprutil-1.la 
-rpath /usr/local/apr/lib buckets/apr_buckets_refcount.lo 
buckets/apr_buckets_pipe.lo buckets/apr_buckets_heap.lo 
buckets/apr_brigade.lo buckets/apr_buckets_file.lo buckets/apr_buckets.lo 
buckets/apr_buckets_flush.lo buckets/apr_buckets_socket.lo 
buckets/apr_buckets_eos.lo buckets/apr_buckets_pool.lo 
buckets/apr_buckets_simple.lo buckets/apr_buckets_alloc.lo 
buckets/apr_buckets_mmap.lo crypto/apr_sha1.lo crypto/getuuid.lo 
crypto/apr_md4.lo crypto/uuid.lo crypto/apr_md5.lo dbm/apr_dbm_ndbm.lo 
dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_sdbm.lo 
dbm/apr_dbm_gdbm.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm.lo 
dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo encoding/apr_base64.lo 
hooks/apr_hooks.lo ldap/apr_ldap_option.lo ldap/apr_ldap_url.lo 
ldap/apr_ldap_init.lo misc/apr_reslist.lo misc/apr_date.lo misc/apr_queue.lo 
misc/apu_version.lo misc/apr_rmm.lo uri/apr_uri.lo xml/apr_xml.lo 
strmatch/apr_strmatch.lo xlate/xlate.lo   -lrt -lcrypt  -lpthread -ldl  
-lgdbm /usr/lib/libexpat.la /usr/local/apr/lib/libapr-1.la -lrt -lcrypt 
-lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [libaprutil-1.la] Fehler 1
make[1]: Leaving directory `/home/tommi/Projekte/apr-util-1.1.2'
make: *** [all-recursive] Fehler 1

/usr/lib/libexpat.so is a 32-bit-library and this does not link with a 64-bit 
library. I have a libexpat.so in /usr/lib64, which links well with a normal 
programm. I created a minimal program ttt.cpp with just an empty 
main-function, which compiles and links with libexpat with "g++ -lexpat -o 
ttt ttt.cpp". "ldd ttt" tells me, that it depends 
on /usr/lib64/libexpat.so.0.

Tommi

Mime
View raw message