[rrd-users] MRTG install problems

Travis cbrbike at gmail.com
Fri Dec 9 19:48:13 MET 2005


Hello all,
    I'm trying to move my installation of MRTG from one machine to another
and am having some problems with libpng. I am moving from a source install
on an older Redhat distro to an RPM package on an Enterprise Machine. I've
downloaded and installed the MRTG rpm package on the new box. I've also
moved over my mrtg.cfg files that we are currently using on the old machine.
When I run the binary mrtg against the config file, I am getting errors that
point to missing libpng files. Here is the command I am running and the
error that I get;
#] env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 127 when doing router 'border1-input-q-drops-cable4.html'
 Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng12.so.0: cannot
open shared object file: No such file or directory

Now, this is obviously pointing at a problem with the libpng lilbrary so I
run the following:

ldd /usr/bin/rateup
        libgd.so.2 => /usr/lib/libgd.so.2 (0x004e2000)
        libpng12.so.0 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0x00425000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00400000)
        libc.so.6 => /lib/tls/libc.so.6 (0x002ce000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x00256000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00a30000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00751000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x009c7000)
        /lib/ld-linux.so.2 (0x002b5000)
        libpng12.so.0 => not found
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00c58000)
        libdl.so.2 => /lib/libdl.so.2 (0x003fa000)

This tells me that libpng12.so.0 is NOT FOUND. As well as libpng12.so.0 NOT
FOUND.

So I check my RPM like this;

rpm -ql libpng
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.1.2.7
/usr/lib/libpng12.so.0
/usr/lib/libpng12.so.0.1.2.7
/usr/share/doc/libpng-1.2.7
/usr/share/doc/libpng-1.2.7/CHANGES
/usr/share/doc/libpng-1.2.7/LICENSE
/usr/share/doc/libpng-1.2.7/README
/usr/share/doc/libpng-1.2.7/TODO
/usr/share/doc/libpng-1.2.7/example.c
/usr/share/doc/libpng-1.2.7/libpng.txt
/usr/share/man/man5/png.5.gz

This tells me that the files are in fact installed on the machine along with
the libpng.rpm. However, when I go to the /usr/lib/ directory, I don't see
them in there. Here is what I get.

/usr/lib/libp
libpamc.so                  libpango-1.0.so.0.600.0     libpcap.so
libpopt.so.0
libpam_misc.so              libpangoft2-1.0.so.0        libpcap.so.0
libpopt.so.0.0.0
libpam.so                   libpangoft2-1.0.so.0.600.0  libpcap.so.0.8
libpq.so.3
libpanel.so                 libpangox-1.0.so.0         
libpcap.so.0.8.3
libpq.so.3.1
libpanel.so.5               libpangox-1.0.so.0.600.0   
libpcreposix.so.0
libpspell.so.15
libpanel.so.5.4             libpangoxft-1.0.so.0
libpcreposix.so.0.0.0       libpspell.so.15.0.3
libpanelw.so                libpangoxft-1.0.so.0.600.0 
libpgtypes.so.1
libpython2.3.so
libpanelw.so.5              libparted-1.6.so.12        
libpgtypes.so.1.2
libpython2.3.so.1.0
libpanelw.so.5.4            libparted-1.6.so.12.0.7     libpopt.la
libpango-1.0.so.0           libparted.so                libpopt.so

Anyway, I am at a loss as to why I am getting this error. Is there something
wrong with the RPM package of libpng that I have installed? If so, how do I
find out? Thanks.


--
~Travis ;-)

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list