This is what I had to do to get it to work on CentOS 5. For some reason, FreeType would not work with yum so I built it from scratch. I’m not sure if the all the “yum install”s were needed, but I did it anyway.
#yum install freetype — did not work
tar xvzf freetype-2.3.5.tar.gz