SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
php5 and mysql not working on Slackware RC4 (edited title)
I have upgraded my 10.2 system to Slackware-current. I can't get php working. It is looking for libmysqlclient.so.14 when it should be looking for xxx.so.15. According to the change log (or my interpretation of it), the php5 package was recompiled for the new mysql version (5.0.24 in my case).
Before I recompile php myself (which I do not have fond memories of doing last time), is there something else I can do or check? Do I misunderstand the change log?
I had a mysqli-5.0.5 package still installed. Removed that and reinstalled the php package and I can now start php. However, I am still not able to load the mysql extension. I've tried with php4 and php5. php --info shows that it was compiled with mysql.
I have the mysql-5.0.24-i486-1 package installed but have PHP 5.1.6 compiled from sources. When I upgraded mysql to that version I got the same error - unfortunately the symlink didn't fix the problem for me. Recompiling PHP fixed it so the only good news I can off is that the following was painless on my install:
Code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --with-mysql=/usr/lib/mysql
make
su -
make install
I just installed the latest (Sep 3) recompiles of mysql and php5. The mysql extensions continue to fail.
Gilead,
I did try to recompile php, but had one problem after another and got frustrated/ran out of time. I do need a bunch more configure options than you gave in your example:-(. The Slackware configure should have all I need, if it would only work as advertised.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.