Foo - What libraries do I need to install GD on 64 bit linux/centos?

Bikeforums.net is a forum about nothing but bikes. Our community can help you find information about hard-to-find and localized information like bicycle tours, specialties like where in your area to have your recumbent bike serviced, or what are the best bicycle tires and seats for the activities you use your bike for.




banerjek
10-18-08, 05:23 PM
One of the groups I support wants me to install GD on a server so they use captcha. I figure I'm going to need to provide graphics support for other apps, so I'm cool with their request. Anyway, when I ran configure after downloading gd-2.0.35.tar.gz, it didn't see support for critical libraries:

Support for PNG library: no
Support for JPEG library: no
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes

Does anyone know what I need to install to get this running? Thanks


ehidle
10-18-08, 06:03 PM
CentOS is RedHat based, is it not? Does it use rpm? yum? I don't know anything about it, so this may not be the answer you're looking for, but:

libpng
libpng-devel
libjpeg
libjpeg-devel
freetype-2
freetype-devel-2
fontconfig
fontconfig-devel
libXpm
libXpm-devel

that oughtta do it...

x136
10-18-08, 06:36 PM
Man, Ubuntu sure spoils a person. I remember wrangling with all of that kind of stuff.


banerjek
10-19-08, 11:02 PM
CentOS is RedHat based, is it not? Does it use rpm? yum? I don't know anything about it, so this may not be the answer you're looking for, but:

libpng
libpng-devel
libjpeg
libjpeg-devel
freetype-2
freetype-devel-2
fontconfig
fontconfig-devel
libXpm
libXpm-devel

that oughtta do it...
This is what I needed. Thanks