ID:               48195
 Updated by:       j...@php.net
 Reported By:      rickdunn at chez dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: OS X 10.5.6
 PHP Version:      5.3.0RC2
 Assigned To:      scottmac
 New Comment:

Does this happen with current PHP_5_2 snapshot? (please try..)
http://snaps.php.net/


Previous Comments:
------------------------------------------------------------------------

[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] scott...@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] j...@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

------------------------------------------------------------------------

[2009-05-08 19:50:44] rickdunn at chez dot com

Description:
------------
Bug #43189 has returned in 5.3 RC2.  Make fails with 'undefined
symbols'
related to iconv.

Reproduce code:
---------------
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" ./configure
--prefix=/usr/local/php5 --with-apxs2=/usr/sbin/apxs
--with-config-file-scan-dir=/usr/local/php5/php.d --with-ldap=/usr
--with-bz2=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr
--enable-exif --enable-soap --enable-ftp --enable-mbstring
--enable-mbregex --enable-sockets --with-iodbc=/usr
--with-curl=shared,/usr --sysconfdir=/private/etc --with-mysqli=mysqlnd
--with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-openssl
--with-xmlrpc --with-xsl=/usr  --with-gd --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/X11R6 --with-freetype-dir=/usr/X11R6
--with-xpm-dir=/usr/X11R6 --enable-gd-native-ttf --with-mcrypt=shared
--enable-calendar --enable-bcmath

Expected result:
----------------
Successful installation.

Actual result:
--------------
Make fails.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48195&edit=1

Reply via email to