Edit report at https://bugs.php.net/bug.php?id=62023&edit=1

 ID:                 62023
 Comment by:         giovanni dot guevara at dyversi dot com
 Reported by:        zhanglijiu at gmail dot com
 Summary:            [sapi/cli/php] Error 1
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Mac OS 10.6.8
 PHP Version:        5.4.3
 Block user comment: N
 Private report:     N

 New Comment:

$ make clean did the trick, thanks.


Previous Comments:
------------------------------------------------------------------------
[2012-07-05 15:12:05] xin3n at yahoo dot com

Yes 
$ make clean 
Really works

------------------------------------------------------------------------
[2012-05-15 04:27:30] zhanglijiu at gmail dot com

There are also others people faced this problem.
http://stackoverflow.com/questions/9845139/php-installation-fails-in-sapi-cli-php
https://bugs.php.net/bug.php?id=43189

I think the problem is "Fails to link iconv", this problem always happens for 
mac 
os compiled php. I have fixed the problem by disabled-iconv, but it should have 
a 
better solution.

------------------------------------------------------------------------
[2012-05-15 02:23:08] larue...@php.net

could you paste your whole compiling log in pastebin.com,  then give us the 
link?

thanks

------------------------------------------------------------------------
[2012-05-14 14:21:52] reeze dot xia at gmail dot com

Have you ever make before? 
you could try 
$ make clean
$ make

------------------------------------------------------------------------
[2012-05-14 12:32:53] zhanglijiu at gmail dot com

Description:
------------
When I try to compiler php 5.4.3, there is a errors. I searched this issues, 
but 
I can not find a good solution.

Undefined symbols for architecture x86_64:
  "_print", referenced from:
      _date_format in php_date.o
     (maybe you meant: _zend_print_variable, _php_quot_print_encode , 
_php_print_credits , _php_info_print_box_end , _php_info_print_style , 
_zend_print_flat_zval_r , _file_printedlen , _php_info_print_css , 
_zend_print_zval_ex , _zend_make_printable_zval , _zif_quoted_printable_encode 
, 
_debug_print_backtrace_args , _php_info_print_hr , _cdf_print_classid , 
_zend_print_zval_r_ex , _php_info_print_box_start , _php_print_info , 
_zend_print_zval , _php_info_print_table_start , _php_info_print_table_row_ex , 
_printf , _php_info_print_table_end , _php_printf , _php_info_print_table_row , 
_cdf_print_elapsed_time , _php_quot_print_decode , _zend_print_zval_r , 
_file_printf , _php_info_print_module , _zif_user_printf , 
_php_info_print_table_colspan_header , _cdf_print_property_name , _zif_print_r 
, 
_zif_quoted_printable_decode , _zend_printf , __php_stream_printf , 
_php_print_info_htmlhead , _print_class , _php_info_print_table_header , 
_zend_do_print )
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1




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



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

Reply via email to