compiling php5 with gd on os x, undefined symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

i have os x 10.3.9 (and i don't intend to upgrade

i compiled gd with zlib libpng libjpg ok

i compiled php-5.2 without gd and it's fine

but when i compile with --with-gd=/usr/local

../configure --cache=/dev/null --with-mysql=/usr/local/mysql
--with-apxs=/usr/sbin/apxs --with-zlib --with-libxml-dir=/usr/local
--with-gd=/usr/local

make stops on errors

ld: Undefined symbols:
_gdImageCreateFromGif
_gdImageCreateFromGifCtx
_gdImageGifCtx
make: *** [libs/libphp5.bundle] Error 1

Where should these symbols be defined ?

I also linked the /usr/local/lib/libgd.* files in /usr/lib but... same
result


thanx for any help

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux