statusmap.cgi compilation on HPUX 11i

cits.bogajewski at daimlerchrysler.com cits.bogajewski at daimlerchrysler.com
Mon Mar 14 13:16:37 CET 2005


Hi Folks,

on my HPUX 11i  the compilation of statusmap.cgi fails while the following 
error occurs:

*** GD, PNG, and/or JPEG libraries could not be located... *********

My /etc/local/lib directory looks like this:

-rw-r--r--   1 root       sys         219288 Sep 20 14:50 libjpeg.a
-rw-r--r--   1 root       sys            473 Sep 20 14:50 libjpeg.la
-r-xr-xr-x   1 root       sys         192512 Sep 20 14:50 libjpeg.sl
-rw-r--r--   1 root       sys         225768 Jan 14 13:06 libpng.a
-rwxr-xr-x   1 root       sys            677 Jan 14 13:06 libpng.la
-r-xr-xr-x   1 root       sys         200704 Jan 14 13:06 libpng.sl
-rw-r--r--   1 root       sys         225768 Jan 14 13:06 libpng12.a
-rwxr-xr-x   1 root       sys            687 Jan 14 13:06 libpng12.la
-r-xr-xr-x   1 root       sys         200704 Jan 14 13:06 libpng12.sl
-rw-r--r--   1 root       sys         323684 Jan 13 16:28 libgd.a
-rw-r--r--   1 root       sys            880 Jan 13 16:28 libgd.la
-r-xr-xr-x   1 root       sys         299008 Jan 13 16:28 libgd.sl
...

Also present are the header files within the include directory. So any 
files necessary for compilation should be present in my opinion.

My configure command looks like this.
./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin 
--with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios 
--with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include

Although the library path is explicitely providen, the compilation fails.

There is a following statement can be found within the error message:

NOTE: After you install the necessary libraries on your system:
      1. Make sure /etc/ld.so.conf has an entry for the directory in
         which the GD, PNG, and JPEG libraries are installed.
      2. Run 'ldconfig' to update the run-time linker options.
      3. Run 'make clean' in the Nagios distribution to clean out
         any old references to your previous compile.
      4. Rerun the configure script.

Unfortunately there is no ldconfig present on my system. In my opinion it 
should work anyway. However, i am quite new to HPUX so i can be wrong.

Got someone nagios on HPUX running?

Would anyone maybe can help me? Many thanks in advance!


Mit freundlichen Grüßen / Yours sincerely
 
Anatoli Bogajewski
E-Mail: cits.bogajewski at daimlerchrysler.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050314/fbb53270/attachment.html>


More information about the Users mailing list