Looks like a missing header file, or one that does not match the rest of the
package, at first glance.
-----Original Message-----
From: Randall Perry [mailto:listsub@xxxxxxxxxxx]
Sent: Saturday, June 23, 2007 1:54 PM
To: php-install@xxxxxxxxxxxxx
Subject: Make fails when building with gd on Mac OS 10.4
I've installed gd 2.0.34 via macports. Config goes ok with php 5.2.3,
but make fails with these errors:
/usr/bin/ld: Undefined symbols:
_gdFontCacheShutdown
_gdImageAlphaBlending
_gdImageColorAllocateAlpha
_gdImageColorClosestAlpha
_gdImageColorExactAlpha
_gdImageColorResolveAlpha
_gdImageCopyResampled
_gdImageCreateFromGif
_gdImageCreateFromGifCtx
_gdImageCreateTrueColor
_gdImageFilledArc
_gdImageFilledEllipse
_gdImageGifCtx
_gdImagePngCtxEx
_gdImageSaveAlpha
_gdImageSetThickness
_gdImageStringFTEx
_gdImageTrueColorToPalette
_gdNewDynamicCtxEx
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
Anyone know what the problem is? Below is my config command:
./configure \
--with-gd=/opt/local \
--with-png-dir=/opt/local \
--with-jpeg-dir=/opt/local \
--with-freetype-dir=/opt/local \
--enable-ftp \
--with-apxs=/usr/local/apache/bin/apxs \
--with-pgsql \
--with-xml \
--enable-mbstring \
--enable-mbregex \
--enable-exif \
--with-openssl \
--with-openssl-dir=/usr/local/ssl \
--with-pear --with-curl=/usr/local/lib \
--with-mysql=/usr/local/mysql \
--enable-imap \
--with-imap=/usr/local/imap-2004a \
--with-imap-ssl=/usr/local/imap-2004a \
--with-zlib \
--with-zlib-dir=/opt/local/lib
--
Randall Perry
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]