PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
[root@xoxide1 root]# yum list installed | grep mysql
mysql i386 4.1.20-1.art.rhel3.art db
mysql-bench i386 4.1.20-1.art.rhel3.art db
mysql-compat i386 4.1.20-1.art.rhel3.art db
mysql-devel i386 4.1.20-1.art.rhel3.art db
mysql-server i386 4.1.20-1.art.rhel3.art db
php-mysql i386 5.0.4-13.rhel3.art db
[root@xoxide1 root]# yum list installed | grep php
php i386 5.0.4-13.rhel3.art db
php-devel i386 5.0.4-13.rhel3.art db
php-gd i386 5.0.4-13.rhel3.art db
php-imap i386 5.0.4-13.rhel3.art db
php-ldap i386 5.0.4-13.rhel3.art db
php-mbstring i386 5.0.4-13.rhel3.art db
php-mysql i386 5.0.4-13.rhel3.art db
php-pear i386 5.0.4-13.rhel3.art db
php-pgsql i386 5.0.4-13.rhel3.art db
phpAds noarch 2.0.5-7506 db
phpBB noarch 2.0.17-7518 db
phpBook noarch 1.50-7507 db
phpBugTracker noarch 1.19-7506 db
phpDig noarch 1.85-7505 db
phpMoney noarch 1.3-7510 db
phpMyFamily noarch 1.4.1-7508 db
phpWiki noarch 1.3.11-7508 db
phpsurveyor noarch 0.98-7510 db
It's that last one that seems to be it. After making symlinks from /usr/lib/libmysqlclient.so.14 to /usr/lib/mysql/libmysqlclient.so.14 and from /usr/lib/libmysqlclient_r.so.14 to /usr/lib/mysql/libmysqlclient_r.so.14, everything started working. Does anyone know why they might have been installed in the wrong place?
Can you give me the output of rpm -qf [full path to each lib]? I'll bet this is a rhel3-ism, where Ive got to change the mysql rpms to force the paths on that distro.
It's worth mentioning that my boxes still running 4.4.2 do not have the .so.14 files in the /usr/lib directory either, yet they work without the symlinks pointing to the /usr/lib/mysql folder. The MySQL version is the same.
I think on the centos3/rhel3 boxes I had to build without the -compat lib installed for some reason. I think it was because the build the utils on 3 are so far out of date that it cant resolve the paths correctly. I'll be so glad when rhel3 is dead and buried, its like FC1's (more) evil twin.
Yeah, well, unfortunately, I've got a few servers at The Planet all using RHEL3. I really can't afford the downtime of having them reloaded with RHEL4 and then having to restore everything. To my knowledge, there is no way to upgrade from 3 to 4 without being able to boot from the install media so I guess I'm stuck until I need new hardware and have to move boxes anyway.
If someone knows of a reliable remote upgrade method, please let me know.
Does that wipe out everything on the server? If it loads a minimal CentOS 4.3 image, do I need to reinstall packages that I've added or that were preinstalled on my server (like Plesk)?
jason|xoxide wrote:It's that last one that seems to be it. After making symlinks from /usr/lib/libmysqlclient.so.14 to /usr/lib/mysql/libmysqlclient.so.14 and from /usr/lib/libmysqlclient_r.so.14 to /usr/lib/mysql/libmysqlclient_r.so.14, everything started working. Does anyone know why they might have been installed in the wrong place?