I am trying to recompile the PHP i have on my OS X intel system with GD, however when trying to do so, it prompts me that I am missing libpng. I have done various searches on google for libpng, but on the libpng site the only OS X listed is for powerPC not intel. Regardless, I have read other articles suggesting the they have GD successfully running on their OS X intel. Does anyone know how to do this?
Thanks for the reply. I was able to download Darwin ports and install libpng, however when I run the php ./configure --with-gd it still isnt finding libpng. Do I have to specify the path to libpng somewhere in the config command line?