zabbix error!!
Hello
I got the following messages when I want to give the following command to install zabbix on a RHEL5. [root@localhost zabbix_server]# ./zabbix_server start ./zabbix_server: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory Details It may be mention that mysql, apache, php-5 all installed on /usr/local using binary files. @ Zabbix compilation I use the following lines ./configure --enable-server --with-mysql=/usr/local/mysql-5.1.30-linux-i686-glibc23/bin/mysql_config&&/usr/local/mysql-5.1.30-linux-i686-glibc23/lib/ --with-libcurl then execute make make install commands Then i go to /usr/local/zabbix-1.6.4/src/zabbix_server and try to execute ./zabbix_server start Then following messages shows . Please help me on this issue. |
Please try this :
ls -R /usr/local/lib/ | grep libmysqlclient ls -R /usr/lib/ | grep libmysqlclient ls -R /usr/local/mysql-5.1.30-linux-i686-glibc23/lib/ | grep libmysqlclient ..... |
Results are as follows:
[root@localhost lib]# ls -R /usr/local/lib/ | grep libmysqlclient [root@localhost lib]# [root@localhost lib]# ls -R /usr/lib/ | grep libmysqlclient [root@localhost lib]# [root@localhost lib]# [root@localhost lib]# ls -R /usr/local/mysql-5.1.30-linux-i686-glibc23/lib/ | grep libmysqlclient libmysqlclient.a libmysqlclient.la libmysqlclient_r.a libmysqlclient_r.la libmysqlclient_r.so libmysqlclient_r.so.16 libmysqlclient_r.so.16.0.0 libmysqlclient.so libmysqlclient.so.16 libmysqlclient.so.16.0.0 |
Please add this line to /etc/ld.so.conf :
/usr/local/mysql-5.1.30-linux-i686-glibc23/lib/ and afterward run # /sbin/ldconfig |
All times are GMT -5. The time now is 02:47 PM. |