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

Skip Montanaro skip at pobox.com
Mon Jul 7 18:40:37 CEST 2003


    Onyi> Here is the output from config.log...
    Onyi> configure:2660: checking for gdImagePng in -lgd (order 1)
    Onyi> configure:2679: gcc -o conftest -g -O2 -I/usr/local/include/libpng/   -L/usr/local/lib/ conftest.c -lgd -lz -lm -lpng -ljpeg  1>&5
    Onyi> configure:2675: Undefined symbol `_gdImagePng' referenced from text segment
    Onyi> collect2: ld returned 1 exit status  
    Onyi> configure: failed program was:
    Onyi> #line 2668 "configure"
    Onyi> #include "confdefs.h"
    Onyi>         /* Override any gcc2 internal prototype to avoid an error.  */
    Onyi> /* We use char because int might match the return type of a gcc2
    Onyi>     builtin and then its argument prototype would still apply.  */
    Onyi> char gdImagePng();   

    Onyi> int main() {
    Onyi> gdImagePng()
    Onyi> ; return 0; }
    ...

Sure looks to me like _gdImagePng is not defined in your gd library.  Are
you sure your gd library is a new enough version and/or that when built, PNG
support was available (to insure that gd's build process compiled
gdImagePng)?

-- 
Skip Montanaro
skip at pobox.com
Got spam? http://spambayes.sf.net/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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