This is not really a PHP related issue but but a MySQL dependancy related issue so I'll help you with it off-list (keep replies off-list).
On Aug 11, 2008, at 21:03 PM, Julia Minnie (Mucky Dog) wrote:
I've resolved an earlier issue with ./configure not finding libmysqlclient.15.dylib by creating a linked file in the usr/local/ mysql/lib/mysql/ location that it was looking in. Sadly, I've now got new issues and the error logs are less clear to me. Hope someone can help!
You should not have had to create any links if MySQL was properly built and installed.
Here's my Terminal command: ./configure --prefix=/usr/local/php5 -- with-apxs=/usr/sbin/apxs --with-mysqli=/usr/local/mysql/bin/ mysql_config --enable-mbstring --enable-soapHere's the end of the Terminal message: ...checking whether to include mime_magic support... no checking for MING support... no checking for mSQL support... no checking for MSSQL support via FreeTDS... no checking for MySQL support... no checking for specified location of the MySQL UNIX socket... no checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... noconfigure: error: wrong mysql library version or lib not found. Check config.log for more information.
Is MySQL installed in /usr/local/mysql? Does /usr/local/mysql/bin/mysql_config exist? Provide the output of the following command: sudo find /usr/local/mysql
Here's the end of the config.log message: ...configure:56915: checking for MING support configure:58147: checking for mSQL support configure:58660: checking for MSSQL support via FreeTDS configure:59313: checking for MySQL supportconfigure:59360: checking for specified location of the MySQL UNIX socketconfigure:60526: checking for MySQLi support configure:60573: checking whether to enable embedded MySQLi support configure:60724: checking for mysql_set_server_option in -lmysqlclientconfigure:60743: gcc -o conftest -I/usr/include -g -O2 -no-cpp- precomp -L/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql - liconv -L/usr/lib -lmysqlclient -lz -lm conftest.c -lmysqlclient - liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lmysqlclientcollect2: ld returned 1 exit status configure: failed program was: #line 60732 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_set_server_option(); int main() { mysql_set_server_option() ; return 0; } MAC OSX 10.4.11 Apache 1.3mysql Ver 14.12 Distrib 5.0.45, for apple-darwin8.5.1 (i686) using readline 5.0
-- BuildSmart
PGP.sig
Description: This is a digitally signed message part