Problem with shared libraries

Stefaan de Keersmaeker stefaan at webarama.com.au
Sun Jul 3 04:37:16 UTC 2005


RH9 System

 

# rpm -ivh mrtg-2.9.17-13.i386.rpm 
error: Failed dependencies:
libgd.so.1.8 is needed by mrtg-2.9.17-13

libgd.so.1.8 is provided by gd-1.8.4-11.i386.rpm 


# rpm -ivh gd-1.8.4-11.i386.rpm 
Preparing... ########################################### [100%]
package gd-2.0.23-hc1 (which is newer than gd-1.8.4-11) is already installed

OK
I do:
# locate libgd.so
/usr/lib/libgd.so.2
/usr/lib/libgd.so.2.0.0

As I have libgd.so.2 I make a symbolic link:

ln -s /usr/lib/libgd.so.2 /usr/lib/libgd.so.1.8

SO I got:

/usr/lib/libgd.so.1.8 -> /usr/lib/libgd.so.2
/usr/lib/libgd.so.2 -> libgd.so.2.0.0
/usr/lib/libgd.so.2.0.0

But still I get 

# rpm -ivh mrtg-2.9.17-13.i386.rpm 
error: Failed dependencies:
libgd.so.1.8 is needed by mrtg-2.9.17-13

should that not be backward compatible with libgd.so.1.8?
And should the symbolic link not fix this issue?


Running ldconfig doesn;'t help either.

 

Tried the yum install mrtg and get an error along the same lines

Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - Base
Server: Fedora Legacy utilities for Red Hat Linux 9
Server: Red Hat Linux 9 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
....Unable to satisfy dependencies
Package mrtg needs libgd.so.1.8, this is not available.

I even copied this library from another RH9 system which does have this
installed but no good.

Should I force an RPM install of gd-1.8.4-11.i386.rpm ? Not sure about doing
that, can installing an older package create problems for the newer one or
can they coexist?

Maybe I'm missing something?

Ta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-legacy-list/attachments/20050703/4054450c/attachment.htm>


More information about the fedora-legacy-list mailing list