PDA

View Full Version : Error on PHP compile



TeraSoft
06-11-2007, 03:31 PM
On Fedora 6 - PHP 5.2.2 & Mysql 5.0.41:

gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory
make: *** [libphp5.la] Error 1

*** The make has failed, do you want to try to make again? (y,n):
[root@linux custombuild]# locate libmysqlclient.so
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.15
/usr/lib/libmysqlclient.so.15.0.0
[root@linux custombuild]#

Edit: Copied the libmysqlclient.so into the /mysql dir and no problems. But maybe you can fix it so it works "Out of the Box" :D

smtalk
11-04-2007, 03:25 AM
It's already fixed in CustomBuild :) Both for 32bit and 64bit.

webquarry
02-23-2008, 04:11 PM
Just downloaded the latest custombuild and I still see the error.

Dravu
02-23-2008, 06:14 PM
Just downloaded the latest custombuild and I still see the error.
Did you try this?:

cp /usr/lib/libmysqlclient.so /usr/lib/mysql/libmysqlclient.so

webquarry
02-23-2008, 07:19 PM
Actually I symlinked it. I was simply pointing out that it is NOT yet fixed in the latest custombuild script as indicated above.

Dravu
02-23-2008, 08:20 PM
Actually I symlinked it. I was simply pointing out that it is NOT yet fixed in the latest custombuild script as indicated above.
Ah. My apologies then. :)