1833726 Members
2654 Online
110063 Solutions
New Discussion

gd.sl / php and libpng

 
Lutz_4
Advisor

gd.sl / php and libpng

Hello,

As many ITs I'm triing to use the gd.sl extensions within php.
So I updated the php.ini
Installed the depot requested
Download the 1.0.18 libpng and compiled it via gcc
and now by restarting apache I got the following error :
PHP Warning : Unkown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/gd.sl' -Bad magic number for shared library: /usr/local/lib/libpng.sl.2 in Unknown on line 0
Can somebody help ?

thanks
2 REPLIES 2
RAC_1
Honored Contributor

Re: gd.sl / php and libpng

Looks like the library version is not matching with OS version. If you have OS version 11i, you should be getting library gd.sl for 11i
There is no substitute to HARDWORK
Lutz_4
Advisor

Re: gd.sl / php and libpng

I've take gd-2.0.33-sd.11.11.depot from HP and apache is 2.054 ...
so the version seems to be ok ...