Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I normally work on CentOS and Ubuntu machines but I have been busting my head against the wall trying to install libgd2 on Suse (Suse Enterprise Server 11. x86_64). Plenty of google searches point me to install gd but that's version 1. Even a zypper search "gd" only yields "gd - A drawing library for programs that use PNG and JPEG Output". Ultimately I am trying to install Perl's GD module but it depends on libgd2 and trying to install from source is also throwing error after error. Mostly ... warning: macro `AM_ICONV' not found in library error: possibly undefined macro: AM_ICONV        
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

On CentOS and Ubuntu installing libgd2 is a one liner and that's that but unfortunately I'm stuck with trying to get it to work on Suse.

Has anyone ever installed libgd2 on a Suse box before? Or if you know the magic command for zypper that would be great too.

Many thanks! Janie

share|improve this question

Install development libraries for gettext (gettext-devel under opensuse, I presume), clean everything and configure again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.