Re: Trying to load MySQL libraries from wrong location, configure failing

From: Date: Sat, 01 Sep 2007 20:05:49 +0000
Subject: Re: Trying to load MySQL libraries from wrong location, configure failing
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-18233@lists.php.net to get a copy of this message
Geoffrey, As John rightly pointed out, I ran into the same or similar issue. I battled it out a bit with the PHP people but frankly their attitude just bothers me. In any case I voted for your bug and I saw that you referenced my bug, so maybe they will take this issue more seriously. I did come up with a workaround by using symlinks cd /usr/local/mysql/lib ln -s /usr/local/mysql/lib ./mysql cd /usr/local/mysql/include ln -s /usr/local/mysql/include ./mysql This will make your build compile and work correctly, however it is not an optimal solution, what needs to happen is that the hard references to /usr/local/mysql/lib/mysql need to be removed. -J --- Juan A. Pons juan@pons.org On Sep 1, 2007, at 3:56 PM, Geoffrey Sneddon wrote:
On 1 Sep 2007, at 18:49, John N wrote:
Hello, On 9/1/07, Geoffrey Sneddon <geoffers@gmail.com> wrote:
As can be seen from the debug.log, PHP attempts to read from /usr/ local/mysql/lib/mysql, which doesn't exist. It should be looking in / usr/local/mysql/lib. I'm running Mac OS 10.4.10/x86, with nothing else interesting about my setup. Everything worked up to PHP 5.2.3 on this.
It's here been discussed with Juan, and he has reported a Php bug, http://bugs.php.net/bug.php?id=42464 The Php developers appear to be in disagreement :-/ You may wish to add your voice & experiences there.
As it's marked as bogus, I cannot comment on that bug. I have opened another (#42515).
One may notice that when building from source MySql on OSX, the locations are correctly, /usr/local/mysql/lib/mysql /usr/local/mysql/include/mysql
I'm reluctant to do, as the normal tarball doesn't have the patches for XNU's threading (the default ones lead to terrible performance). -g.


« previous php.install (#18233) next »