cancel
Showing results for 
Search instead for 
Did you mean: 

RRDTool library search

SOLVED
Go to solution
Vassy
Occasional Advisor

RRDTool library search

Hi all !

I have a machine HP Compaq DC7800 with Linux CentOS distribution and I want to install RRDTool 1.4.4 on this, but it requests a perl platform for this and when I try to install it it requests the librrd.so.4 library:

[root@localhost rrdtool]# rpm -ivh perl-rrdtool-1.4.4-1.el5.rf.i386.rpm
warning: perl-rrdtool-1.4.4-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
librrd.so.4 is needed by perl-rrdtool-1.4.4-1.el5.rf.i386
rrdtool = 1.4.4 is needed by perl-rrdtool-1.4.4-1.el5.rf.i386

I can't find it. Tell me anyone where I can find this library (librrd.so.4) ???

Pls help me !
3 REPLIES
Matti_Kurkela
Honored Contributor
Solution

Re: RRDTool library search

The package "perl-rrdtool" is not the RRDTool itself, but a set of Perl bindings for scripting RRDTool.

The name of your perl-rrdtool package includes ".rf." in it, which indicates it isn't a standard RHEL/CentOS RPM, but a third-party RPM from RpmForge. So I'd guess you could find the actual RRDTool 1.1.4 RPM from RpmForge too.

After a tiny bit of Googling it looks like I was right:

http://www.linuxreaders.com/2010/07/09/install-rrdtool-using-yum-on-centos/

The package that contains the actual RRDTool is named like this:
rrdtool-1.4.4-1.el5.rf.i386.rpm

If you don't want to add the RpmForge repository to your YUM configuration, here's at least one place to download it manually from:
http://packages.sw.be/rrdtool/

MK
MK
Vassy
Occasional Advisor

Re: RRDTool library search

Thank you, Matti Kurkela for your help. It was very usefull, but I solved the problem in this way:

[root@localhost cacti]# rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
warning: rpmforge-release-0.5.1-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@localhost cacti]# yum install rrdtool
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.iasi.roedu.net
* base: ftp.iasi.roedu.net
* extras: ftp.iasi.roedu.net
* rpmforge: apt.sw.be
* updates: ftp.iasi.roedu.net
rpmforge | 1.1 kB 00:00
rpmforge/primary | 2.2 MB 00:10
rpmforge 10427/10427
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rrdtool.i386 0:1.4.4-1.el5.rf set to be updated
--> Processing Dependency: perl(RRDp) for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Processing Dependency: lua for package: rrdtool
--> Processing Dependency: libdbi.so.0 for package: rrdtool
--> Running transaction check
---> Package libdbi.i386 0:0.8.1-2.1 set to be updated
---> Package lua.i386 0:5.1.4-2.el5.rf set to be updated
---> Package perl-rrdtool.i386 0:1.4.4-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Installing:
rrdtool i386 1.4.4-1.el5.rf rpmforge 895 k
Installing for dependencies:
libdbi i386 0.8.1-2.1 base 35 k
lua i386 5.1.4-2.el5.rf rpmforge 242 k
perl-rrdtool i386 1.4.4-1.el5.rf rpmforge 52 k

Transaction Summary
=============================================================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libdbi-0.8.1-2.1.i386.rpm | 35 kB 00:00
(2/4): perl-rrdtool-1.4.4-1.el5.rf.i386.rpm | 52 kB 00:00
(3/4): lua-5.1.4-2.el5.rf.i386.rpm | 242 kB 00:00
(4/4): rrdtool-1.4.4-1.el5.rf.i386.rpm | 895 kB 00:03
-----------------------------------------------------------------------------------------------------------------------------
Total 231 kB/s | 1.2 MB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lua 1/4
Installing : libdbi 2/4
Installing : rrdtool 3/4
Installing : perl-rrdtool 4/4

Installed:
rrdtool.i386 0:1.4.4-1.el5.rf

Dependency Installed:
libdbi.i386 0:0.8.1-2.1 lua.i386 0:5.1.4-2.el5.rf perl-rrdtool.i386 0:1.4.4-1.el5.rf

Complete!

Thanks anyway again !
Vassy
Occasional Advisor

Re: RRDTool library search

Thanks to all !