statusmap.cgi cannot locate libgd.so.2

MATTHEW TAN, CUSSID matthewt at hq.psa.com.sg
Tue Apr 1 10:19:03 CEST 2003


Hi, I am running Nagios 1.0 with the following libraries installed: 
jpeg-6b,libpng-1.2.5,libpng-1.2.5,zlib-1.1.4

My platform=Solaris 8 on Ultra-10

I am able to compile Nagios with gd support. But when i tried to access
statusmap, trends or histogram cgis in the browser, i got the following
error in the Apache server error log ->

ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or
directory
[Tue Apr  1 15:03:28 2003] [error] [client 10.10.140.124] Premature end of
script headers: /usr/local/nagios/sbin/statusmap.cgi

Below is the output when i did a ldd of the statusmap.cgi ->

ldd  statusmap.cgi
        libgd.so.2 =>    /usr/local/lib/libgd.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libjpeg.so.62 =>         /usr/local/lib/libjpeg.so.62
        libc.so.1 =>     /usr/lib/libc.so.1
        libXpm.so.4.11 =>        /usr/local/lib/libXpm.so.4.11
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

It seems like statusmap.cgi know where to find the gd libraries, but why do
i still get the error above in the Apache logs when i tried to access the
statusmap.cgi?

Regards,
Matthew
This communication contains confidential or privileged information. If you
are not the intended recipient, please notify us IMMEDIATELY that you have
received it and destroy it. We are not liable for any unauthorised sending
of or interference with this communication.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030401/74e67ebb/attachment.html>


More information about the Users mailing list