[mrtg] problems with libpng.so.2 or ld.so.1

MARCO ANTONIO MEJIA LARA marmejla at mail.telcel.com
Fri Jan 19 02:53:10 MET 2001


Hello List, I am Marco Antonio From Mexico, first, I ofered you all my
apologies for my terrible English, I still having problems with it.

I had  installed MRTg y my server with Solaris 7, and I get a error from
de mrtg program, i received a message like this.

# ./mrtg ../cfgs/ppas2.cfg
ld.so.1: /opt/home/soportei/mrtg/mrtg-2.9.7/bin/rateup: fatal:
libpng.so.2: open
 failed: No such file or directory
WARNING: rateup died from Signal 9
 with Exit Value 0 when doing router 'ppas2_2'
 Signal was 9, Returncode was 0
ld.so.1: /opt/home/soportei/mrtg/mrtg-2.9.7/bin/rateup: fatal:
libpng.so.2: open
 failed: No such file or directory
WARNING: rateup died from Signal 9
 with Exit Value 0 when doing router 'ppas2_3'
 Signal was 9, Returncode was 0

This tell me that mrtg can not found the librery, but It was installed
in
/usr/local/lib

I compiled the libreries after the mrtg, i did something like this

# gunzip zlib.tar.gz
# tar xvf zlib.tar
# mv zlib-1.1.3 zlib
# cd zlib
# ./configure
# make
# make install

# gunzip -c libpng-1.0.8.tar.gz|tar xvf -
# mv libpng-1.0.8 libpng
# cd libpng
# make -f scripts/makefile.std CC=gcc ZLIBLIB=../zlib ZLIBINC=../zlib
# cp makefile.solaris Makefile
# cp Makefile ..
# cd ..
# make install

# gunzip -c gd-1.8.3.tar.gz |tar xf -
# mv gd-1.8.3 gd
# cd gd
# make INCLUDEDIRS="-I. -I../zlib -I../libpng" LIBDIRS="-L../zlib -L.
-L../libpn
g" LIBS="-lgd -lpng -lz -lm"
#make install

and then the mrtg

# gunzip -c mrtg-2.9.7.tar.gz|tar xvf -
# cd mrtg*
# ./configure
# make

I do not know what kind of problem it´s, can anybody help me?

thanks a lot.



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list