libpng.so.3 error after compiling php5.0.3rc1 with gd

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
runnion
Forum Newbie
Posts: 1
Joined: Wed Dec 01, 2004 11:13 am

libpng.so.3 error after compiling php5.0.3rc1 with gd

Post by runnion »

I get this error message whenever I try to start apache now that I've compiled PHP5.0.3rc1 with GD.



quote:
--------------------------------------------------------------------------------
Failed to start apache :
Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libpng.so.3: failed to map segment from shared object: Permission denied
[FAILED]
--------------------------------------------------------------------------------



My server is Fedora core 3, and I've got libgd, libgd-devel, libgd-progs, libpng, libpng-devel, libjpeg, and libjpeg-devel all installed.

I've confirmed that libpng.so.3 is in my /usr/lib/ folder and I even chmod'd it to 777 to make sure I had ok permissions.

Does anyone have any thoughts for me?

Ian
Post Reply