php 5.2.10 libpng.(a|so) not found.

M

member 1880

Guest
#1
We're considering Litespeed for one of our production servers. We've successfully installed litespeed Standard under MacOS 10.5.7 (Intel).

I've tried to install the latest PHP version 5.2.10 within the web admin console, but it always fails with configure: error: libpng.(a|so) not found.

It's a fresh test system with a blank os x server installation. What do I have to do get php 5.2.10 working with Litespeed?
 

robfrew

Well-Known Member
#2
The error you are seeing is not a Litespeed issue but rather a PHP compiling issue. This means whether you use LSWS or not, if you try to compile PHP on your system, it may fail. This is because you do not have some of the required development libraries on your system for some of the configuration options you have chosen during the PHP build.

In this case, you are most likely missing the libpng development library. You may also be missing the libjpg library. This is explained here:

http://www.digitalmediaminute.com/article/2656/libpng-and-libjpg-installer-for-osx

Here is a direct link for a combo installer for both packages for mac os x:

http://ethan.tira-thompson.org/Mac_OS_X_Ports_files/libjpeg-libpng (universal).dmg

Good luck.
 
Top