[mrtg] Re: Problem with libpng

Rippe, Mark (CCI-Warwick) Mark.Rippe at cox.com
Mon Apr 3 14:13:10 MEST 2000


i had the same problem.
the problem is in the library paths.
i made the following file called 'run_mrtg.sh' and put it in my mrtg home
directory.
needless to say, adjust this to suit your system...

---- snip ----

#!/bin/sh
 
LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/local/lib
export LD_LIBRARY_PATH
 
cd /usr/mrtg-2.8.9/run
./mrtg mrtg.conf

---- snip ----

i then built the following crontab.

---- snip ----

    0,5,10,15,20,25,30,35,40,45,50,55 * * * *
/usr/local/mrtg-2.8.11/run_mrtg


---- snip ----


mark.rippe at cox.com

"Elegance is for Tailors!"
Albert Einstein on mathematics

> -----Original Message-----
> From:	Ariel Manzur [SMTP:punto at anime.com.ar]
> Sent:	Monday, April 03, 2000 1:27 AM
> To:	mrtg at list.ee.ethz.ch
> Subject:	[mrtg] Problem with libpng
> 
> Hi..
> 
> After I run mrtg, I get this error:
> 
> --
> .//rateup: error in loading shared libraries: libpng.so.2: cannot open
> shared object file: No such file or directory
> --
> 
> I have that file, on /usr/local/lib/
> Where is it supposed to be? I'm running it on a Cobalt RaQ3 ("Cobalt
> Linux", based on Red Hat)
> 
> Thanks.. Bye..
> 
> Ariel.
> 
> 
> 
> --
> 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

--
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



More information about the mrtg mailing list