[rrd-developers] librrd.so.2 with Redhat 5

Andreas Maus a.maus at science-computing.de
Tue Apr 28 16:27:52 CEST 2009


On Tue, Apr 28, 2009 at 10:43:04AM +0300, Reaky Rok wrote:
> Dear All
Hi.

>             Kindly help me in this problem as I was to install rrdtool in Redhat El5 32 bit, When I trying to install rrdtool-1.2.27-3.el5.i386.rpm , It gave me that It    librrd.so.0 is needed by (installed) rrdtool-devel-1.0.50-3.el5.rf.i386
>        rrdtool = 1.0.50 is needed by (installed) rrdtool-devel-1.0.50-3.el5.rf.i386
*ahem* How do you try to install rrdtool-1.2.27-3.el5.i386 rpm -i or rpm -U ?
The problem is that rpm can't _remove the old_ rrdtool rpm (rrdtool-devel-1.0.50-3.el5.rf.i386 - note the Version 1.0.50!)
but it can't because rrdtool-devel-1.0.50 needs this file.

> I tried to install rrdtool-devel-1.2.27-3.el5.i386.rpm, It gave me 
>     librrd.so.2 is needed by rrdtool-devel-1.2.27-3.el5.i386
>     librrd_th.so.2 is needed by rrdtool-devel-1.2.27-3.el5.i386
>     rrdtool = 1.2.27-3.el5 is needed by rrdtool-devel-1.2.27-3.el5.i386
Of course this will fail !
Please read the errors RPM gave you!

You failed to install rrdtool-1.2.27 but this RPM _IS NEEDED_ the corresponding devel packet!

> When I search about librrd_th.so.2 in RPMpbone It gave that It contained in zenoss-2.3.287.el5.i386.rpm, I installed it but the same problem, Could you please help me in that.
Nope. Its in the rrdtool-1.2.27 RPM!
Looking at the content of this rpm reveals (for the 64bit rpm in my case):

rpm -qpil RPMS/rrdtool-1.2.23-1.el5.rf.x86_64.rpm  | grep librrd_th
warning: RPMS/rrdtool-1.2.23-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
/usr/lib64/librrd_th.so.2
/usr/lib64/librrd_th.so.2.0.8

So the solution depends on the first question (_How_ do you try to install rrdtool-1.2.27 ?)
Try rpm -U and if this fails remove the old rrdtool-1.0.50 RPM (and the devel Packet) and
install the new version.

HTH,

Andreas.

P.S.: I guess you should post such questions to the rrd-users Mailinglist not the developers List
P.S.S.: No offense but before you post carefully read (and understand) the error messages and
maybe read the rpm manpages.

-- 
Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 73
tel.: +49 7071 9457 671             72070 Tuebingen, Germany
fax: +49 7071 9457 411              www.science-computing.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090428/761e6865/attachment-0001.bin 


More information about the rrd-developers mailing list