<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>All,</div>
<div> </div>
<div>I am getting following error when configuring MRTG. I want to use it to measure bandwidth using Nagios. </div>
<div> </div>
<div>checking for gdImageGif in -lgd... no</div>
<div>checking for gdImagePng in -lgd... no</div>
<div>checking for gdImagePng_jpg in -lgd... no</div>
<div>checking for gdImagePng_jpg_ft in -lgd... no</div>
<div>checking gd.h usability... yes</div>
<div>checking gd.h presence... yes</div>
<div>checking for gd.h... yes</div>
<div> </div>
<div>** Ooops, one of many bad things happened:</div>
<div> </div>
<div>   a)  You don't have the GD library installed.</div>
<div>       Get it from <a href="http://www.boutell.com"><font color="#0000FF"><u>http://www.boutell.com</u></font></a>, compile it and</div>
<div>       use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify</div>
<div>       its location. You might also have to use --with-z-inc,</div>
<div>             --with-z-lib and --with-png-inc, --with-png-lib for gd</div>
<div>             versions 1.6 and higher.  Check config.log for more</div>
<div>       information on the problem.</div>
<div> </div>
<div>   b)  You have the GD library installed, but not the gd.h</div>
<div>       header file.  Download the source (see above) and use</div>
<div>       --with-gd-inc=DIR to specify where the file can be found.</div>
<div> </div>
<div>   c)  You have the library and the header file installed, but</div>
<div>       you also have a shared GD library in the same directory.</div>
<div>       Remove the shared library files and/or links (e.g.</div>
<div>       libgd.so.2.0.0, libgd.so and libgd.so.2).  This is especially</div>
<div>             likely if you're using a recent (post 1.8.4) version of GD</div>
<div>       and didn't configure it with --disable-shared.</div>
<div> </div>
<div>   d)  You have gd library installed and also it's headers, but you are</div>
<div>       missing libpng (and headers) or freetype (and headers)</div>
<div>       (mrtg does not use freetype, but if your copy of gd is precompiled</div>
<div>       against it, you have to install it …</div>
<div> </div>
<div>Please help. </div>
<div> </div>
<div>Thanks & Regards,</div>
<div>Sakshi Anand</div>
<div> </div>
</font>
</body>
</html>