Home > Archive > PHP Installation > July 2007 > RE: [PHP-INSTALL] Make fails when building with gd on Mac OS 10.4
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
RE: [PHP-INSTALL] Make fails when building with gd on Mac OS 10.4
|
|
| Paul Blondé 2007-06-25, 7:06 pm |
| 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@systame.com]
Sent: Saturday, June 23, 2007 1:54 PM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] 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
| |
| Randall Perry 2007-07-05, 7:02 pm |
| Paul Blondé wrote:
> Looks like a missing header file, or one that does not match the rest of the
> package, at first glance.
>
>
I'm getting the same errors using the included gd. Is this a problem
with the php distribution, or the php dist + Mac OS 10.4?
config:
---------
./configure \
--with-gd \
--with-png-dir=/opt/local \
--with-jpeg-dir=/opt/local \
--with-freetype-dir=/opt/local \
--enable-gd-native-ttf \
--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
lxml2 -lz -liconv -lm -o libs/libphp5.bundle && cp libs/libphp5.bundle
libs/libphp5.so
/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
>
> -----Original Message-----
> From: Randall Perry [mailto:listsub@systame.com]
> Sent: Saturday, June 23, 2007 1:54 PM
> To: php-install@lists.php.net
> Subject: [PHP-INSTALL] 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
sysTame
Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales
http://www.systame.com/
|
|
|
|
|