hi,
i am unable to install sarg. when i configure it shows the error
configure: error: ligbd is required to compile sarg with gd.
i have already installed below things
[root@ZABBIX sarg-2.3.9]# rpm -qa | egrep gd
eggdbus-0.6-3.el6.x86_64
gdm-plugin-fingerprint-2.30.4-52.el6.x86_64
gdm-2.30.4-52.el6.x86_64
gd-2.0.35-11.el6.x86_64
gd-devel-2.0.35-11.el6.x86_64
gdbm-1.8.0-36.el6.x86_64
gupnp-igd-0.1.3-3.1.el6.x86_64
gdm-libs-2.30.4-52.el6.x86_64
gdm-user-switch-applet-2.30.4-52.el6.x86_64
php-gd-5.3.3-40.el6_6.x86_64
pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64
gdbm-devel-1.8.0-36.el6.x86_64
plymouth-gdm-hooks-0.8.3-27.el6.centos.x86_64
gdb-7.2-60.el6_4.1.x86_64
libgdata-0.6.4-2.el6.x86_64
Thanks to your post, I noticed there was a spelling error in libgd! That part is now fixed :-)
Now coming to your problem…
The error message tells that sarg found gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h but failed to link a test program with libgd to call the gdImagePng function.
According to the page http://rpmfind.net//linux/RPM/centos/6.6/x86_64/Packages/gd-devel-2.0.35-11.el6.x86_64.html, the gd-devel package should have installed the required libgd.so library in /usr/lib64. Do you confirm it is there?
I trust the library is installed. So let's go directly to the next possible cause which is an unrelated compiler error.
Can you search through the config.log for a line such as (ignore the 4234 number, it will be different in your log):
It should be followed by an error message explaining why the compiler couldn't compile the test program.
Here is a successful outcome:
Your config.log should contain an error message. Could you post it here or, even better, attach the config.log to this thread?