libgd problems

Jim Perrin jperrin at gmail.com
Tue Jul 24 17:26:32 CEST 2007


On 7/24/07, mashtin.bakir at gmail.com <mashtin.bakir at gmail.com> wrote:
> I'm trying to build nagios2.9 on linux. There already happens to be
> an older one installed via RPM as well as libgd, libpng and libjpeg
> so I'm (re)installing from source.

You really should avoid building from source on systems with package
management options (doesn't matter if it's  .deb or .rpm or other) in
place, as this can cause headaches and file conflicts later. Instead,
you might consider installing the -devel packages for these
dependencies.

> nagios 2.9 compiles but complains about GD, PNG or jpeg library.
> Install gd-2.0.33 and libpng-1.2.18 and they both compile without error.
> The error I get when nagios compiles is where it says
>
> Checking for gdImagePng in -lgd (order 1)... no
>
> If I've compiled libgd and libpng, installed them in the default
> (/usr/local), what else do I need to do for them to be recognized?


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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