[mrtg] Re: Problems with libpng.

Vincent LOUPIEN vincent.loupien at upmf-grenoble.fr
Wed Jun 5 09:30:46 MEST 2002


Hi!

I've finaly found a solution (thank you to Rainer Bawidamann, the 
maintener/support of 14all.cgi)
> usr/bin/perl: relocation error:/
> usr/lib/perl5/5.6.1/i386-linux/auto/RRDs/RRDs.so: undefined symbol:
> png_create_write_struct
> [Mon Jun 3 18:00:22 2002] [error] [client a.b.c.d] Premature end of script
> headers: /www/cgi-bin/mrtg/14all.cgi
The problem come from the perl version of rrdtool (RRDs.so). The mandrake 
binary package rrdtool (rrdtool-1.0.33-9mdk and cooker rrdtool-1.0.35-1mdk)
has it's own version of libpng and links it statically. I have compiled 
rrdtool-1.0.33 from Mandrake source (rrdtool-1.0.33-7mdk.src.rpm) and only 
copy RRDs.so to the path "/usr/lib/perl5/5.6.1/i386-linux/auto/RRDs/" .... 
and the result is good!

-- 
@+.
________________________________________________________________
Vincent Loupien - Centre de Ressources Informatiques - PUG ANRT
Universite Pierre Mendes France - Domaine Universitaire
151, rue des Universites - BP 47 - 38040 Grenoble Cedex 09
Tel : 04.76.82.57.58 - Fax : 04.76.82.83.13
________________________________________________________________


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