I have 2 Slackware servers (dev and production) running Slack 10.0. I built my own packages for apache2, MySql 4.1, and php5 using the *.SlackBuild scripts with minor modifications for apache2 and mysql and the php.SlackBuild is from the 2nd CD.
Everything works correctly on those boxes.
I just setup a 3rd Slackware server running Slack 10.1. I compiled the three packages on that box (as I think some things with GCC have changed), and I also loaded a fresh 10.1 install on my laptop. Both machines experience the same problem.
Everything works except php with mysql. I loaded phpmyadmin on both boxes and now I get this message when trying to view phpmyadmin:
Code:
cannot load mysql extension,
please check PHP Configuration
Documentation
Running php from the command line on my laptop returns :
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
mysql.so is in /usr/lib/php/extensions and "locate libmysqlclient.so" returns:
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient.so.14.0.0
Running php from command on the new server doesn't return any errors but still the same message when trying to view phpmyadmin
Since this appears to be broken on the two 10.1 boxes and works on the 10.0 boxes, I assume there is something I've missed with the change to 10.1.
What am I missing?
http://www.wallsfiredept.org/post/php.SlackBuild
http://www.wallsfiredept.org/post/apache.SlackBuild
http://www.wallsfiredept.org/post/mysql.SlackBuild