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

I get the same error now when I try to compile 5.2.9.  The solution in

Bug #43189 did not work for me.


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

[2009-06-01 09:24:22] j...@php.net

Please provide the generated Makefile's for PHP 5.2.9 (that works) and

PHP 5.3 (that does not work) using same configure options for both. And

as few options as possible, thankyouverymuch. :)

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

[2009-06-01 09:16:02] j...@php.net

I think the reason is that people have several versions of iconv 
installed in their system. Just remove the extra / wrong / whatever and

it will work fine..

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

[2009-05-29 16:08:16] phi...@php.net

See Bug #43189 for a [temporary] workaround, which involves editing 
Makefile.

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

[2009-05-12 17:38:00] rickdunn at chez dot com

Here's the last few lines and the error:

Zend/zend_object_handlers.o Zend/zend_objects_API.o 
Zend/zend_default_classes.o Zend/zend_execute.o 
sapi/apache2handler/mod_php5.o sapi/apache2handler/sapi_apache2.o 
sapi/apache2handler/apache_config.o 
sapi/apache2handler/php_functions.o main/internal_functions.o  -liconv

-liconv -lm  -o libs/libphp5.bundle && cp libs/libphp5.bundle 
libs/libphp5.so
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-12 16:10:10] scott...@php.net

Can you show me the last command it tried to run from linking?

Usually you have -L/usr/lib and -L/opt/local/lib or similar.

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

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

Reply via email to