[horde] Can't build php5? - Now builds, but doesn't work.
Patrick Baldwin
Patrick.Baldwin at studsvikscandpower.com
Tue May 22 17:54:03 UTC 2007
>Le Mar 22 mai 07 à 19:27:31 +0200, Patrick Baldwin
><Patrick.Baldwin at studsvikscandpower.com>
> écrivait :
>
>
>>> PHP Warning: PHP Startup: Unable to load dynamic library
>>> '/usr/local/lib/php/20
>>> 060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
>>> "gdImag
>>> eCreateFromXpm" in Unknown on line 0
>>> PHP Warning: PHP Startup: Unable to load dynamic library
>>> '/usr/local/lib/php/20
>>> 060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
>>> "gdImag
>
>
>This might be related to the recent Xorg migration;
Google doesn't seem to think so, at least I can't get it to
tell me much with searching on Xorg, FreeBSD, gd.so, & PHP
in various combinations. Of course, I might be asking it
the wrong thing.
> don't you have some
>libraries from 6.9 mixed with 7.2?
>
>Check `ldd /usr/local/lib/php/20060613/gd.so'.
OK:
webmail# ldd /usr/local/lib/php/20060613/gd.so
/usr/local/lib/php/20060613/gd.so:
libt1.so.5 => /usr/local/lib/libt1.so.5 (0x281b4000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28205000)
libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28269000)
libz.so.3 => /lib/libz.so.3 (0x2828b000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x2829c000)
libm.so.4 => /lib/libm.so.4 (0x282ba000)
And checking to see if the various files are around:
webmail# pwd
/usr/local/lib/php/20060613
webmail# ls -asl g*
368 -r--r--r-- 1 root wheel 357948 May 22 12:26 gd.so
16 -r--r--r-- 1 root wheel 15337 May 22 12:28 gettext.so
webmail# ls /usr/local/lib/libt1*
/usr/local/lib/libt1.a /usr/local/lib/libt1x.a
/usr/local/lib/libt1.la /usr/local/lib/libt1x.la
/usr/local/lib/libt1.so /usr/local/lib/libt1x.so
/usr/local/lib/libt1.so.5 /usr/local/lib/libt1x.so.5
webmail# ls /usr/local/lib/libfr*
/usr/local/lib/libfreetype.a /usr/local/lib/libfreetype.so
/usr/local/lib/libfreetype.la /usr/local/lib/libfreetype.so.9
webmail# ls /usr/local/lib/libpng*
/usr/local/lib/libpng.a /usr/local/lib/libpng.so.5
/usr/local/lib/libpng.so
webmail# ls /lib/libz*
/lib/libz.so.3
webmail# ls /usr/local/lib/libjp*
/usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so
/usr/local/lib/libjpeg.la /usr/local/lib/libjpeg.so.9
webmail# ls /lib/libm*
/lib/libm.so.4 /lib/libmd.so.3
...seems to indicate that they're all there.
Regards,
--
Patrick Baldwin
Systems Administrator
Studsvik Scandpower, Inc.
1087 Beacon St.
Newton, MA 02459
1-617-965-7455
More information about the horde
mailing list