Install cactid & cacti on Redhat Enterprise Linux 4

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
richiev
Posts: 7
Joined: Mon Jun 06, 2005 12:47 am

Install cactid & cacti on Redhat Enterprise Linux 4

Post by richiev »

Has anyone installed cacti with cactid on Redhat Enterprise Linux 4? If so, what versions of software did you use and what steps did you take? Did you use source tarball or an RPM?
I have tried to compile source for cactid on redhat enterprise linux 4 and it fails with library dependencies which I can't seem to resolve.

Cheers.
farhan
Posts: 47
Joined: Sat Nov 12, 2005 6:55 am

Post by farhan »

hi richiev,

I have been running cacti,cactid on RedHat Enterprise AS 4. There are following softwares.

RRDtool 1.2.11 (tar ball)
mysql-bench-4.1.12-3.RHEL4.1
mysql-devel-4.1.12-3.RHEL4.1
mod_auth_mysql-2.6.1-2.2
php-mysql-4.3.9-3.9
mysql-server-4.1.12-3.RHEL4.1
mysql-4.1.12-3.RHEL4.1
php-gd-4.3.9-3.9
php-devel-4.3.9-3.9
php-4.3.9-3.9
php-mysql-4.3.9-3.9
php-pear-4.3.9-3.9
php-snmp-4.3.9-3.9
net-snmp-libs-5.1.2-11
net-snmp-5.1.2-11
net-snmp-perl-5.1.2-11.EL4.6
net-snmp-devel-5.1.2-11
net-snmp-utils-5.1.2-11.EL4.6

Would you like to post your error?
richiev
Posts: 7
Joined: Mon Jun 06, 2005 12:47 am

Post by richiev »

OK, I'm running Redhat Enterprise AS 4 on a HP DL385 dual 2.2Ghz AMD Operaton server.
I have installed all the RPM packages that you have listed and when I do a ./configure for cactid it goes through the normal configure stuff and then spits out the following 2 lines last:

checking for mysql_init in -lmysqlclient... no
configure: error: MySQL libraries not found.

I have checked my /etc/ld.so.conf.d/ directory and there is an entry for mysql pointing to the libraries location. I have the mysql-devel package installed.

Any ideas?
richiev
Posts: 7
Joined: Mon Jun 06, 2005 12:47 am

Post by richiev »

Well I just sorted out my problem by installed the RHEL4 mysql 4.1 packages from mysql.com but that introduces another slight annoyance in that when starting mysql it says its fails but does actually start. But thats not for this forum and the main thing is I got my cactid to compile.
etn
Posts: 8
Joined: Mon Feb 13, 2006 4:32 am

Post by etn »

I everybody,
i was with the same problem on RH4 using an x86_64 kernel (2.6.9-5.ELsmp) , and i resolved it by modification in configure file.

Line 4864: str="$i/lib/mysql/libmysqlclient.*"
replaced by : str="$i/lib64/mysql/libmysqlclient.*"

Line 4867: MYSQL_LIB_DIR=$i/lib/mysql
by MYSQL_LIB_DIR=$i/lib64/mysql

Afterthat, compilation finished with success ! ;)

Etn
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests