Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 89625 invoked from network); 6 May 2005 19:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2005 19:29:43 -0000 Received: (qmail 10730 invoked by uid 500); 6 May 2005 19:32:25 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 10693 invoked by uid 500); 6 May 2005 19:32:25 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 10679 invoked by uid 99); 6 May 2005 19:32:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from sofa.circle-of-art.de (HELO sofa.circle-of-art.de) (213.239.202.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 12:32:24 -0700 Received: from p213.54.168.94.tisdip.tiscali.de ([213.54.168.94]) by sofa.circle-of-art.de with asmtp (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.34) id 1DU8Vw-0007FV-Cr for dev@apr.apache.org; Fri, 06 May 2005 21:29:33 +0200 From: Tommi =?iso-8859-1?q?M=E4kitalo?= Organization: Dr. Eckhardt + Partner GmbH To: dev@apr.apache.org Subject: problem compiling apr-util-1.1.2 with suse 9.3 x86-64 Date: Fri, 6 May 2005 21:29:30 +0200 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505062129.31003.tommi@epgmbh.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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