ID: 48795
Comment by: harald dot lapp at gmail dot com
Reported By: gwynne@php.net
Status: Verified
Bug Type: Compile Failure
Operating System: Mac OS X 10.5.8, 10.6.2
PHP Version: 5.3SVN-2009-11-23 (SVN)
New Comment:
same problem here: osx 10.5.8, php5.3-latest
any ideas how to fix this issue?
Previous Comments:
------------------------------------------------------------------------
[2009-11-24 11:46:48] jani@php.net
well, build system does handle C++ quite fine for me. OSX is
"special"..
------------------------------------------------------------------------
[2009-11-24 01:23:26] gwynne@php.net
No, upgrading the bundled libtool didn't fix it. The buildsystem isn't
set up to deal with C++ files automatically.
------------------------------------------------------------------------
[2009-11-23 21:58:18] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-09-15 15:25:13] ramsey@php.net
I'm having the same exact problem using --enable-intl
--with-icu-dir=/path/to/icu
I installed ICU with macports, and so I'm using /opt/local as my path
to ICU.
------------------------------------------------------------------------
[2009-07-16 20:09:52] jplock at gmail dot com
I'm using OSX 10.5 as well and I'm getting the same error when trying
to build PHP 5.3.0 with intl enabled.
Undefined symbols:
"___gxx_personality_v0", referenced from:
___gxx_personality_v0$non_lazy_ptr in msgformat_helpers.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
LDFLAGS="/usr/lib/gcc/i686-apple-darwin9/4.0.1/libstdc++.dylib"
export LDFLAGS
./configure \
--disable-all \
--with-libxml-dir=/usr \
--with-apxs2=/usr/local/apache22/bin/apxs \
--with-regex=php \
--with-zend-vm=CALL \
--with-curl=/usr \
--with-curlwrappers \
--with-gd \
--with-gettext=/usr \
--with-iconv \
--with-pear=/usr/local/lib/php \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-openssl=/usr \
--with-pcre-regex \
--with-zlib-dir=/usr \
--with-xsl=/usr \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-icu-dir=/usr/local \
--enable-tokenizer \
--enable-ctype \
--enable-mbstring \
--enable-session \
--enable-simplexml \
--enable-xml \
--enable-hash \
--enable-libxml \
--enable-dom \
--enable-filter \
--enable-fileinfo \
--enable-bcmath \
--enable-json \
--enable-intl \
--enable-pdo \
--enable-pcntl \
--enable-shmop \
--enable-phar \
--enable-posix \
--enable-sockets
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48795--
Edit this bug report at http://bugs.php.net/?id=48795&edit=1