Make fails when building with gd on Mac OS 10.4

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



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]
  Powered by Linux