Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 46706 invoked from network); 25 Sep 2007 05:28:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 05:28:15 -0000 Received: (qmail 53803 invoked by uid 500); 25 Sep 2007 05:28:05 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 53748 invoked by uid 500); 25 Sep 2007 05:28:05 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 53737 invoked by uid 99); 25 Sep 2007 05:28:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 22:28:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aliyaharbouri@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 05:28:03 +0000 Received: by ug-out-1314.google.com with SMTP id a2so1053116ugf for ; Mon, 24 Sep 2007 22:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UHBhwkOypwdG0JBMPvrVvh+UhzmqQOm8O2hZSZNxty8=; b=me3VZV/hklPpyzbmF3rT9CVWdsIxYwS4DGY2ciMK9O88XLwUMHqLM0ENQxmophQ3xDkNS6+2oNMv0o2xxrazQhPrAk9db/OiBd1UWhzBS5DCPW3Sa+xkoiu8d74zl0vN4R5f+lNGLVXg0B0Lfy5D2HEfvkwnTE8kd8z6Dz2rex8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TyJFqHGWuQ5Ag0uHJr1a5+DVcCSP17uvVY1EDCziM+Z9dwK8Het7i1/0YquNJjNB/d2HG3bIl1OgyRENRGRPszZ34+V5NzWmYsy7109T4jk+gH+Bgm3e/dVWZ4zIqPj6n4OPhX6oOT/LahVsUCBghmm2Bs2jyRnhw9xb7X7FQ1o= Received: by 10.67.30.6 with SMTP id h6mr459122ugj.1190698061472; Mon, 24 Sep 2007 22:27:41 -0700 (PDT) Received: by 10.67.91.14 with HTTP; Mon, 24 Sep 2007 22:27:41 -0700 (PDT) Message-ID: Date: Mon, 24 Sep 2007 22:27:41 -0700 From: "Aliya Harbouri" To: dev@apr.apache.org Subject: is my apr-util causing downstream "bad magic number" error? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi everybody! I'm getting an apr-util related error ("bad magic number (not a Mach-O file)") when building PHP5 with apxs, involving MySql's libs. My original post about it is here, http://news.php.net/php.general/262438 But the longer I stare at this stuff, the more I think it may be a problem with the apr-util build. I've ./configure'd apr-util (trunk/r579042) from source, ./configure --with-apr=/usr/local/apache2 --with-berkeley-db=/usr/local/dbd46 --with-dbm=db46 --with-expat=/usr/local --with-mysql=/usr/local/mysql --with-sqlite3=/usr/local/sqlite And it builds OK. Checking with, /usr/local/apache2/bin/apu-1-config --libs -ldb-4.6 -lsqlite3 /usr/local/mysql/lib/mysql/libmysqlclient_r.la -lexpat -liconv I'm suspicious of that "/usr/local/mysql/lib/mysql/libmysqlclient_r.la"; I expected "just" -lmysqlclient_r. And, since that's exactly the lib name referred in the php error (link above). Ideas? Is this an apr-util or PHP problem? Thanks a lot :-) Ali