compiling php5 with gd on os x, undefined symbols
| From: | sanstenarios | Date: | Fri, 18 May 2007 09:43:19 +0000 |
| Subject: | compiling php5 with gd on os x, undefined symbols | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18011@lists.php.net to get a copy of this message | ||
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