ID: 48195
Updated by: scottmac@php.net
Reported By: rickdunn at chez dot com
Status: Feedback
Bug Type: Compile Failure
Operating System: OS X 10.5.6
PHP Version: 5.3.0RC2
Assigned To: scottmac
New Comment:
Can you try with
./configure --disable-all --with-xmlrpc --enable-libxml
The above configures file for me on 10.5.6.
Previous Comments:
------------------------------------------------------------------------
[2009-05-10 17:05:53] jani@php.net
Does this happen with current PHP_5_2 snapshot? (please try..)
http://snaps.php.net/
------------------------------------------------------------------------
[2009-05-10 12:03:51] rickdunn at chez dot com
No luck.
I tried running ./buildconf before ./configure and the same error
occurs.
I tried stripping out all of the compiler flags except for " -arch
x86_64 -m64" and still get the same error.
Again, this problem showed up with 5.3.0RC2. I did not have any
problems with 5.3.0RC1.
------------------------------------------------------------------------
[2009-05-09 22:45:38] scottmac@php.net
The bug you linked to was fixed for 5.3.0RC2, its possible that this is
what caused your issues.
Did you checkout to a fresh directory?
If not you might need to run ./buildconf and ./configure again.
------------------------------------------------------------------------
[2009-05-09 21:00:21] jani@php.net
Drop all this first:
CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer -arch x86_64 -m64" CXX=gcc
CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -arch x86_64 -m64"
------------------------------------------------------------------------
[2009-05-09 11:53:24] rickdunn at chez dot com
Up until the release of 5.3.0 RC2, I could successfully compile PHP on
OS X 10.5.6. Now, 'Make' always fails with this message:
Undefined symbols:
"_libiconv", referenced from:
__php_iconv_appendl in iconv.o
__php_iconv_appendl in iconv.o
_php_iconv_string in iconv.o
_php_iconv_string in iconv.o
__php_iconv_strlen in iconv.o
__php_iconv_strpos in iconv.o
_zif_iconv_substr in iconv.o
_zif_iconv_mime_encode in iconv.o
_zif_iconv_mime_encode in iconv.o
_zif_iconv_mime_encode in iconv.o
_zif_iconv_mime_encode in iconv.o
_zif_iconv_mime_encode in iconv.o
_zif_iconv_mime_encode in iconv.o
_php_iconv_stream_filter_append_bucket in iconv.o
_php_iconv_stream_filter_append_bucket in iconv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
------------------------------------------------------------------------
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/48195
--
Edit this bug report at http://bugs.php.net/?id=48195&edit=1