[ Return To FAQ Index | Search The FAQs ]
|Title:||GD, PNG, and/or JPEG libraries could not be located on OpenBSD 3.4|
|Submitted By:||Brian Wood |
|Description:||When building Nagios 1.2 on OpenBSD 3.4, it fails to find the gd library (in my case, gd was installed from an OpenBSD package). |
|Solution:||Build with the following command-line:|
LDFLAGS="-L/usr/local/lib -lttf" ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include
or Google cached: http://184.108.40.206/search?q=cache:HOCBmDj-arAJ:lists.elvandar.org/pipermail/openbsd-misc/2004-January/000435.html+openbsd+nagios&hl=en&ie=UTF-8 . (That link doesn't say you need --with-gd-*, which in my case, I did. Otherwise the compile fails about halfway through).
|Keywords:||OpenBSD gd |