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

Onyi Ejiasa onyi at firstlink.com
Wed Jul 2 16:48:50 CEST 2003


Hello,

Thanks for the help thus far. Here is some more information to aid in assistance...

1.] I am running OpenBSD 3.3
2.] I installed libpng 1.2.5, jpeg-6b, and zlib-1.1.4 all using source.
3.] I am not sure if the jpeg-devel and png-devel are included with installing libpng and jpeg-6b from source?
4.] OpenBSD does not support RPM (of course) and this seems to be the only way to specifically get the *devel stuff.
5.] Here is some more output to look at... (kinda long)

bash-2.05b# ldconfig -Rmv /usr/lib /usr/local/lib /usr/include/ /usr/local/include/

Adding /usr/lib/lib45.so.2.0
Adding /usr/lib/libacl.so.6.0
Adding /usr/lib/libasn1.so.3.0
Adding /usr/lib/libc.so.29.0
Adding /usr/lib/libcrypto.so.9.0
Adding /usr/lib/libcurses++.so.2.0
Adding /usr/lib/libcurses.so.9.0
Adding /usr/lib/libdes.so.8.0
Adding /usr/lib/libedit.so.1.0
Adding /usr/lib/libform.so.2.0
Adding /usr/lib/libg2c.so.7.0
Adding /usr/lib/libgssapi.so.2.0
Adding /usr/lib/libiberty.so.5.0
Adding /usr/lib/libkadm.so.8.0
Adding /usr/lib/libkafs.so.11.0
Adding /usr/lib/libkdb.so.7.0
Adding /usr/lib/libkrb.so.11.0
Adding /usr/lib/libkrb5.so.5.0
Adding /usr/lib/libkvm.so.7.0
Adding /usr/lib/libm.so.1.0
Adding /usr/lib/libmenu.so.2.0
Adding /usr/lib/libncurses.so.9.0
Adding /usr/lib/libobjc.so.1.0
Adding /usr/lib/libocurses.so.4.0
Adding /usr/lib/libossaudio.so.2.0
Adding /usr/lib/libotermcap.so.4.0
Adding /usr/lib/libpanel.so.2.0
Adding /usr/lib/libpcap.so.2.0
Adding /usr/lib/libperl.so.8.0
Adding /usr/lib/libpthread.so.1.0
Adding /usr/lib/libreadline.so.1.0
Adding /usr/lib/libsectok.so.4.0
Adding /usr/lib/libskey.so.4.0
Adding /usr/lib/libssl.so.7.0
Adding /usr/lib/libstdc++.so.31.0
Adding /usr/lib/libtermcap.so.9.0
Adding /usr/lib/libtermlib.so.9.0
Adding /usr/lib/libz.so.2.0
Adding /usr/lib/libusbhid.so.1.0
Adding /usr/lib/libutil.so.8.0
Adding /usr/lib/libwrap.so.3.0
Adding /usr/lib/libgd.so.2.0
Adding /usr/local/lib/libmysqlclient.so.10.0
Adding /usr/local/lib/libcharset.so.1.0
Adding /usr/local/lib/libiconv.so.3.0
Adding /usr/local/lib/libintl.so.1.1
Adding /usr/local/lib/libpng.so.0.1.2.5
Adding /usr/local/lib/libjpeg.so.62.0
Updating libpng.0.1 to /usr/include/libpng.so.0.1.2.5
Totals: entries 48, buckets 48, string size 1564

bash-2.05b# ldconfig -r                                                            

/var/run/ld.so.hints:
        search directories: /usr/lib:/usr/local/lib:/usr/include:/usr/local/include
        0:-ldes.8.0 => /usr/lib/libdes.so.8.0
        1:-lasn1.3.0 => /usr/lib/libasn1.so.3.0
        2:-lgssapi.2.0 => /usr/lib/libgssapi.so.2.0
        3:-lcurses.9.0 => /usr/lib/libcurses.so.9.0
        4:-lkadm.8.0 => /usr/lib/libkadm.so.8.0
        5:-lkrb5.5.0 => /usr/lib/libkrb5.so.5.0
        6:-lm.1.0 => /usr/lib/libm.so.1.0
        7:-lmenu.2.0 => /usr/lib/libmenu.so.2.0
        8:-lform.2.0 => /usr/lib/libform.so.2.0
        9:-lossaudio.2.0 => /usr/lib/libossaudio.so.2.0
        10:-lacl.6.0 => /usr/lib/libacl.so.6.0
        11:-lc.29.0 => /usr/lib/libc.so.29.0
        12:-lotermcap.4.0 => /usr/lib/libotermcap.so.4.0
        13:-lkafs.11.0 => /usr/lib/libkafs.so.11.0
        14:-lpanel.2.0 => /usr/lib/libpanel.so.2.0
        15:-lpthread.1.0 => /usr/lib/libpthread.so.1.0
        16:-lperl.8.0 => /usr/lib/libperl.so.8.0
        17:-lg2c.7.0 => /usr/lib/libg2c.so.7.0
        18:-lsectok.4.0 => /usr/lib/libsectok.so.4.0
        19:-lncurses.9.0 => /usr/lib/libncurses.so.9.0
        20:-lssl.7.0 => /usr/lib/libssl.so.7.0
        21:-lstdc++.31.0 => /usr/lib/libstdc++.so.31.0
        22:-ltermcap.9.0 => /usr/lib/libtermcap.so.9.0
        23:-liberty.5.0 => /usr/lib/libiberty.so.5.0
        24:-l45.2.0 => /usr/lib/lib45.so.2.0
        25:-ltermlib.9.0 => /usr/lib/libtermlib.so.9.0
        26:-lskey.4.0 => /usr/lib/libskey.so.4.0
        27:-lreadline.1.0 => /usr/lib/libreadline.so.1.0
        28:-lusbhid.1.0 => /usr/lib/libusbhid.so.1.0
        29:-lkvm.7.0 => /usr/lib/libkvm.so.7.0
        30:-locurses.4.0 => /usr/lib/libocurses.so.4.0
        31:-lobjc.1.0 => /usr/lib/libobjc.so.1.0
        32:-lcurses++.2.0 => /usr/lib/libcurses++.so.2.0
        33:-lutil.8.0 => /usr/lib/libutil.so.8.0
        34:-lwrap.3.0 => /usr/lib/libwrap.so.3.0
        35:-lgd.2.0 => /usr/lib/libgd.so.2.0
        36:-lmysqlclient.10.0 => /usr/local/lib/libmysqlclient.so.10.0
        37:-lcharset.1.0 => /usr/local/lib/libcharset.so.1.0
        38:-lz.2.0 => /usr/lib/libz.so.2.0
        39:-lcrypto.9.0 => /usr/lib/libcrypto.so.9.0
        40:-liconv.3.0 => /usr/local/lib/libiconv.so.3.0
        41:-lintl.1.1 => /usr/local/lib/libintl.so.1.1
        42:-lpng.0.1 => /usr/include/libpng.so.0.1.2.5
        43:-lkdb.7.0 => /usr/lib/libkdb.so.7.0
        44:-ljpeg.62.0 => /usr/local/lib/libjpeg.so.62.0
        45:-ledit.1.0 => /usr/lib/libedit.so.1.0
        46:-lpcap.2.0 => /usr/lib/libpcap.so.2.0
        47:-lkrb.11.0 => /usr/lib/libkrb.so.11.0


----------------------------------------
Onyi C. Ejiasa - NWT, NCW, NCLA
First Link Technology, Inc.
4260 East Evans Avenue, Denver, CO 80222
----------------------------------------
PH 303.691.8200 | FAX 303.691.8208
----------------------------------------
onyi at firstlink.com | www.firstlink.com
----------------------------------------


-----Original Message-----
From: Tedman Eng [mailto:teng at dataway.com]
Sent: Wednesday, July 02, 2003 1:00 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: *** GD, PNG, and/or JPEG libraries could not
be located... *********


You didn't mention the OS you're using, but for me on RedHat, I had to
install the jpeg-devel and png-devel packages, as well as a newer zlib
before I finally got a working GD.  I'm using the old version (pre2.0)  GD,
which seems to do everything Nagios needs it to.

"Onyi Ejiasa" <onyi at firstlink.com> wrote in message
news:6633DBDE6F5ED64D9D6AF3264AEE891467C9CC at shrex.asp.firstlink.com...
Hello,

When compiling nagios 1.1 with...

"./configure --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/loca
l/lib --with-gd-inc=/usr/local/include"

I get this error...

checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no

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

And thus no GD support. Any Ideas? I have checked that all header and
libraries are present but I seem to be missing something...

Here are my directories...

bash-2.05b# ls /usr/local/include/
gd.h         gdfontg.h    gdfonts.h    jconfig.h    jpeglib.h    libpng
png.h        zlib.h
gd_io.h      gdfontl.h    gdfontt.h    jerror.h     libcharset.h mysql
pngconf.h
gdcache.h    gdfontmb.h   iconv.h      jmorecfg.h   libintl.h    php
zconf.h

bash-2.05b# ls /usr/local/lib

charset.alias             libgd.la                  libintl.a
libjpeg.so.62.0           libz.a
libcharset.a              libgd.so.2.0              libintl.la
libmysqlclient.so.10.0    mysql
libcharset.la             libiconv.a                libintl.so.1.1
libpng.a                  php
libcharset.so.1.0         libiconv.la               libjpeg.a
libpng.a-0
libgd.a                   libiconv.so.3.0           libjpeg.la
libpng.so.0.1.2.5

----------------------------------------
Onyi C. Ejiasa - NWT, NCW, NCLA
First Link Technology, Inc.
4260 East Evans Avenue, Denver, CO 80222
----------------------------------------
PH 303.691.8200 | FAX 303.691.8208
----------------------------------------
onyi at firstlink.com | www.firstlink.com
----------------------------------------



-------------------------------------------------------
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





-------------------------------------------------------
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


-------------------------------------------------------
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