LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2009, 02:52 AM   #1
hasan_sust
LQ Newbie
 
Registered: May 2007
Posts: 23

Rep: Reputation: 0
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.
 
Old 04-28-2009, 08:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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
.....

Last edited by knudfl; 04-28-2009 at 08:38 AM.
 
Old 04-29-2009, 05:32 AM   #3
hasan_sust
LQ Newbie
 
Registered: May 2007
Posts: 23

Original Poster
Rep: Reputation: 0
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
 
Old 04-30-2009, 08:12 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Please add this line to /etc/ld.so.conf :

/usr/local/mysql-5.1.30-linux-i686-glibc23/lib/

and afterward run # /sbin/ldconfig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zabbix Server M_C Linux - Server 1 01-26-2009 09:48 AM
Zabbix on pfsense sandeepthug Linux - Software 2 12-22-2008 06:53 AM
Zabbix mahmoud Linux - Software 3 03-17-2008 06:37 PM
Zabbix.... any experiences? alek66 Solaris / OpenSolaris 0 02-20-2008 08:24 AM
mysql.h error in Ubuntu (zabbix install) khilari Linux - Networking 2 07-06-2006 11:31 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration