Click to See Complete Forum and Search --> : can't find libmysqlclient.so
monkeyboi
08-03-2004, 11:10 PM
i compiled php/apche with mysql support and everything works fine, then i decided to recompile mysql and install it in different location. Now when i try to start apache it says can't load libphp5.so cuz it can't find the libmysqlclient.so...
how do i fix this without recompiling php/apache???
the current libmysqlclient.so... is located in /usr/local/lib/mysql/
i looked at the php.ini file but there is nothing about mysql modules option
thx!
JohnT
08-03-2004, 11:35 PM
then i decided to recompile mysql and install it in different location. If you still have the unpacked file of MySQL just cd into it and run the command "uninstall". Then reinstall in its proper path.
monkeyboi
08-03-2004, 11:37 PM
Originally posted by JohnT
If you still have the unpacked file of MySQL just cd into it and run the command "uninstall". Then reinstall in its proper path.
but i wanted to keep mysql where it's at right now...don't want to changed back to the old path...
JohnT
08-04-2004, 12:16 AM
Then try symlinking the file to the correct directory. Then run the command "ldconfig".
monkeyboi
08-04-2004, 12:21 AM
Originally posted by JohnT
Then try symlinking the file to the correct directory. Then run the command "ldconfig".
tried that already....
ahh screw it i'll just recompile php/apache...
thx anyway!
JohnT
08-04-2004, 12:25 AM
Originally posted by monkeyboi
tried that already....
ahh screw it i'll just recompile php/apache...
thx anyway! What error did you receive?