View FAQ

[ Return To FAQ Index | Search The FAQs ]

FAQ Database : Nagios : Compiling

Title:GD, PNG, and/or JPEG libraries could not be located on OpenBSD 3.9
FAQ ID:F0370
Submitted By:Chris Eidem 
Last Updated:03/14/2007

Description:When building Nagios 2.3.1 from source on a brand new OpenBSD 3.9 system, the gd library could not be found despite following the instructions in FAQ#F0227. 

Solution:Build with the following command line: LDFLAGS="-L/usr/X11R6/lib -lfreetype" ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include  

Keywords:OpenBSD gd