LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01: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, 07:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 07:38 AM.
 
Old 04-29-2009, 04: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, 07:12 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 08:48 AM
Zabbix on pfsense sandeepthug Linux - Software 2 12-22-2008 05:53 AM
Zabbix mahmoud Linux - Software 3 03-17-2008 05:37 PM
Zabbix.... any experiences? alek66 Solaris / OpenSolaris 0 02-20-2008 07:24 AM
mysql.h error in Ubuntu (zabbix install) khilari Linux - Networking 2 07-06-2006 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 PM.

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
Open Source Consulting | Domain Registration