-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This reported bug is bogus, the error is caused by faulty binaries provided by mysql.org/mysql.com.

A lot of people are experiencing this issue and they believe it is a problem with the PHP source, I have confirmed that the PHP source is not the cause of the problem and provide as evidence the following binary linking information.

c12.apple.com:~ root# otool -L /usr/local/mysql/lib/libmysqlclient. 15.dylib # use the actual full library path
/usr/local/mysql/lib/libmysqlclient.15.dylib:
/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib (compatibility version 16.0.0, current version 16.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.5)
c12.apple.com:~ root#

As you can see, the linking (runtime) path is encoded as "/usr/local/ mysql/lib/mysql" which will cause a failure during function tests because the path doesn't exist.

As suggested as a temporary fix is to create a symbolic link (because it's the easiest solution) to resolve the issue it should actually be done using the install_name_tool app and correct the runtime paths in all of the libraries, this of course is outside of the PHP realm but is proof that the issue is not related to PHP.

- -- Dale
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFG2wxM0hzWbkf0eKgRAu6FAKCmjcWZZbIA3Rb5IUdNY00pt/hl1QCfUlAG
LR9y4ysLmwPIOGOJo9dFOCo=
=P+Vl
-----END PGP SIGNATURE-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to