Statusmap.cgi strange behviour - gdImagePng

Subhendu Ghosh sghosh at sghosh.org
Wed May 11 09:15:40 CEST 2005


On Wed, 11 May 2005, Phil Tuttiett wrote:

> Hi,
>    I'm having fun :-( with one of my implementations of nagios - 2.0b3
> on a SuSE Enterprise Server 9 box.
>
> Having finally getting the statusmap to work - after rftm - and making
> sure **all** the required graphics components were installed. I suspect
> I'm still missing something. Statusmap.cgi now runs, but displays a
> broken image box in the browser. All the popups display OK. Trend.cgi
> displays the same behaviour.
>
> In the apaches error log, I get
>
> /usr/local/nagios/sbin/statusmap.cgi: error while loading shared
> libraries: /usr/local/nagios/sbin/statusmap.cgi: undefined symbol:
> gdImagePng, referer: http://myhost/nagios/cgi-bin/statusmap.cgi?host=all
>
> I have the gd libraries (gd and gd-devel, libpng and libpng-devel).
> Which one am I missing; or where is gdImagePng defined?
>
> I have another implementation on a test box at home, with (I think) the
> same libraries & packages installed, which behaves perfectly!
>
> PS. My linux is still at paduin-learner stage, so I'd appreciate any
> assistance I can get.
>
> TIA
>
> Phil Tuttiett
>
>

Are you compiling or running from rpm?

During the configure process - if the GD and pre-reqs are not present you 
should see errors.

Did you recompile after installing the gd/png packages?

-- 

-sg


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list