there is nothing you can make. Any (major)upgrade of mysql client requires the dependent subsystem to upgrade also. Anything else would be careless since you do not know if the interface has changed.
basicly you can install both version of libraries and hope for the best. i would do this only as last rescue if an update is not possible. it is in general not clever. re, wh Gary Smith schrieb: > Johnny, > > Welcome to the hell that is php + apache + mysql. If you upgrade your MySql > (especially major versions 5.0 => 5.1) you will also need to recompile php > against the new MySql client libs. We've had very limited success trying to > get it to work otherwise. > > This is why you are receiving the error through PHP. > > Of course, I could be wrong, in which case I know people will probably jump > me for it. If this is the case, please do as I would like to be wrong here > as it would make my compiling life easier every time I update MySql on all of > my boxes. > > Gary > > ________________________________________ > From: Johnny Stork [li...@openenterprise.ca] > Sent: Wednesday, May 06, 2009 1:03 PM > Cc: mysql@lists.mysql.com > Subject: Re: Problems After MySql 5.1.34 > > Typo, moved from 5.0.67 to 5.1.34 > > Johnny Stork wrote: >> 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 >> >> > > -- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=arch...@jab.org