error loading share libraries after ./build update versions

edouwes

Verified User
Joined
Feb 20, 2010
Messages
7
Hi,

I've directadmin server on: debian 2.6.26-686

Yesterday I ran the following commands for updates:
-set mysql_inst yes in custombuild/options.conf
-./build update
-./build update versions

Before I run this, the versions where:
Mysql version: version 14.14 distributie 5.1.34
Apache version: version 2.2.16
PHP version: version .5.2.14

After the ./build update versions, the versions are:
Mysql version : version 14.12 distributie 5.0.91
Apache version: version 2.2.17

Apache is upgraded and mysql is downgraded (strange), how is that happened?

When I enter the command: php -v
I receive the following error:
php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file.

How can i resolve this problem and update directadmin, php, mysql, apache the right way?

Any suggestion will be appreciated.
Erik,
 
Massive thanks for you quick reply,

Already tried that, but when a start the directadmin service I don'nt get any error, only when I run the command php I get the error describes above.

I just saw when starting httpd, the following error came back:
Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: libmysqlclient.so.16: cannot open shared object file: No such file or directory

The file libphp5.so is there is that directory.
 
From help.directadmin.com :

After the mysql update, always recompile php.

cd /usr/local/directadmin/custombuild/
./build php n
 
Massive,

I did a compleet ./build all d.
Now everything is working fine again.
thnx.
 
Back
Top