[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Library problems
I have been trying to get Nagios packaged for woody, as we would like to
have the results from two student projects merged and included in the
distro. However, I'm up against something I need help with.
During generation of trend graphs, an error is generated in the
apache/error.log:
[error] [client 10.0.2.100] Premature end of script headers:
/usr/lib/cgi-bin/nagios//statusmap.cgi
libpng warning: Application was compiled with png.h from libpng-1.0.12
libpng warning: Application is running with png.c from libpng-1.2.1
gd-png: fatal libpng error: Incompatible libpng version in application
and library
So, on advice from pere, ldd against
/usr/lib/cgi-bin/nagios//statusmap.cgi gives the result
libgd.so.2 => /usr/lib/libgd.so.2 (0x40017000)
libz.so.1 => /usr/lib/libz.so.1 (0x4004d000)
libm.so.6 => /lib/libm.so.6 (0x4005d000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x4007e000)
libc.so.6 => /lib/libc.so.6 (0x400aa000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x401c7000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x401f2000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40211000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40250000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4025e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
which
http://lists.debian.org/debian-devel/2002/debian-devel-200210/msg02425.html
says is an impossible situation, linking against both libpng2 and
libpng3. But I cannot avoid it, since there is only one libpng-dev
package, and that is built against libpng2.
This has been reported to Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=166786
And closed out by the maintainer - he upgraded his machine to get rid of
the problem. Pffft.
End of story? We cannot have Nagios? Or is there a way around this - I'm
a beginner in this game and would like some advice
--
Med vennlig hilsen
Ragnar Wisløff
-------------
life is a reach. then you gybe.