libpng error?

Jonathan Nichols jnichols at pbp.net
Tue Dec 24 23:42:58 CET 2002


Hey guys -
	I needed to restore the box that Netsaint is running on.
Everything went well (nice to be able to just tar up /usr/local/netsaint
and have everything remain intact..whew) except the statusmap.cgi isn't
working anymore.

Here's the error in error_log:
[Tue Dec 24 13:10:03 2002] [error] [client 192.168.10.177] Premature end
of script headers: /usr/local/netsaint/sbin/statusmap.cgi
statusmap.cgi: error while loading shared libraries: libpng.so.2: cannot
open shared object file: No such file or directory

Now, I installed libpng-1.2.5 before I fired Netsaint back up. Here's
what's in /usr/local/lib:
lrwxrwxrwx    1 root           10 Dec 24 13:16 libpng.a -> libpng12.a
lrwxrwxrwx    1 root           11 Dec 24 13:16 libpng.so -> libpng.so.3*
lrwxrwxrwx    1 root           17 Dec 24 13:16 libpng.so.3 ->
libpng.so.3.1.2.5*
-rwxr-xr-x    1 root       198725 Dec 24 13:16 libpng.so.3.1.2.5*
-rw-r--r--    1 root       171310 Dec 24 13:16 libpng12.a
lrwxrwxrwx    1 root           13 Dec 24 13:16 libpng12.so ->
libpng12.so.0*
lrwxrwxrwx    1 root           19 Dec 24 13:16 libpng12.so.0 ->
libpng12.so.0.1.2.5*
-rwxr-xr-x    1 root       198757 Dec 24 13:16 libpng12.so.0.1.2.5*
-rwxr-xr-x    1 root        65262 Dec 21 07:42 libz.a*
drwxr-xr-x   18 root          568 Dec 21 10:55 php/
drwxr-xr-x    2 root          112 Dec 24 13:16 pkgconfig/


Can I just make a symlink to libpng.so.3.1.2.5 and call it libpng.so.2 or
will that fail miserably?

Also, what's the status on the Nagios plugins? The sourceforge page says
that they're still in beta. Is there an estimated "release date" for the
final? I'd hate to move from Netsaint to Nagios, only to have the final
plugins come out 2 days later. :)

Thanks, and happy holidays!
-Jonathan



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list