Re: GD2.0.1
| From: | David Herring | Date: | Tue, 17 Sep 2002 23:56:50 +0000 |
| Subject: | Re: GD2.0.1 | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8492@lists.php.net to get a copy of this message | ||
John,
Did you get gd2.0.1 to work ? Would be very interested in seeing the output of ldd on the libphp so, e.g:-
/usr/local/apache/libexec/libphp4.so
libdl.so.2 => /lib/libdl.so.2 (0x4018f000)
libpam.so.0 => /lib/libpam.so.0 (0x40193000)
libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x4019c000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x401d4000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x401f4000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40227000)
libm.so.6 => /lib/libm.so.6 (0x40238000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4025b000)
libc.so.6 => /lib/libc.so.6 (0x40271000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
linux:/home/dave/netfm/latest #
If so can you tell which png library you linked with...I have tried compiling the latest libpng-1.2.4 and also the older libpng-1.0.14 and both give segV's when using php function imagecreatefrompng....i.e the above example is linking with a version of libpng whioch will cause the segV problem.
The only way I could get this to work was to link with a version of libpng fund on my suse 8.0 system:-
#ls -l /usr/lib/linpng*
...
lrwxrwxrwx 1 root root 18 Jun 9 19:49 /usr/lib/libpng.so.2 -> libpng.so.2.1.0.12
-rwxr-xr-x 1 root root 216314 Aug 3 13:17 /usr/lib/libpng.so.2.1.0.12
...
But where can you get this version of libpng if you want to compile on a machine without libpng installed ?
Again be interested in your feedback,
BTW I also used gd-1.8.4
Dave
Pierre-Alain Joye wrote:
On Mon, 16 Sep 2002 23:08:30 GMT John Coder <jcoder@insightbb.com> wrote:Hi all New to this list but only semi new to php. I'm trying to install gd2.0.1 with php4.2.3 and am having a hell of a time getting it to find libgd(a|so). During configure it says it can't find it under the gd install directory but when I ls /usr/local/gd it shows I have libgd.so.2.0.0 and libgd.so.2.0.1 I've tried copying the files to diff places and still it can't find it. I assume libgd(a|so) means either a or so since | stands for OR and since I can't find libgd.a.x.x.x. Anyhelp I'm running Suse 8.0 and have recompilked apachea1.3.26 gd2.0.1 and stuck on php.4.2.3.You certainly did not install the development package. php need gd headers. hth pa