I recently upgraded an asterisk/trixbox server to mysql 5.1.34 from
5.64. Access to the db seesm fine from the shell, phpmyadmin or even the
Trixbox/FreePBX tool, but trying to apply Trixbox changes, or running a
"pear update" produces the errors below. I created a couple of sl but
this did not seem to fix the problem. Below is the error and contents of
/usr/lib
r...@asterisk:~# pear update
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mysql.so' - /usr/lib/libmysqlclient.so.15: version
`libmysqlclient_15' not found (required by
/usr/lib/php/modules/mysql.so) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mysqli.so' - /usr/lib/libmysqlclient.so.15:
version `libmysqlclient_15' not found (required by
/usr/lib/php/modules/mysqli.so) in Unknown on line 0
Segmentation fault
r...@asterisk:~# ls -la /usr/lib/libmy*
lrwxrwxrwx 1 root root 26 May 6 09:52 /usr/lib/libmysqlclient_r.so
-> libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root 28 May 6 11:26
/usr/lib/libmysqlclient_r.so.15 -> /usr/lib/libmysqlclient_r.so
lrwxrwxrwx 1 root root 28 May 6 11:18
/usr/lib/libmysqlclient_r.so.15.0.0 -> /usr/lib/libmysqlclient_r.so
lrwxrwxrwx 1 root root 26 May 6 09:52
/usr/lib/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
-rwxr-xr-x 1 root root 2052884 Mar 31 22:48
/usr/lib/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root 24 May 6 09:52 /usr/lib/libmysqlclient.so
-> libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root 26 May 6 11:14
/usr/lib/libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so
lrwxrwxrwx 1 root root 24 May 6 09:52
/usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 2044464 Mar 31 22:48
/usr/lib/libmysqlclient.so.16.0.0
--
_____________________________________________
Johnny Stork
Open Enterprise Solutions
"Empowering Business With Open Solutions"
http://www.openenterprise.ca
Mountain Hosting
"Secure Hosting Solutions for Business"
http://www.mountainhosting.ca