apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aliya Harbouri" <aliyaharbo...@gmail.com>
Subject is my apr-util causing downstream "bad magic number" error?
Date Tue, 25 Sep 2007 05:27:41 GMT
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,


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

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"

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 :-)


View raw message