php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62023 [sapi/cli/php] Error 1
Submitted: 2012-05-14 12:32 UTC Modified: 2015-08-16 04:23 UTC
Votes:18
Avg. Score:3.7 ± 1.2
Reproduced:16 of 17 (94.1%)
Same Version:4 (25.0%)
Same OS:4 (25.0%)
From: zhanglijiu at gmail dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.4.3 OS: Mac OS 10.6.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zhanglijiu at gmail dot com
New email:
PHP Version: OS:

 

 [2012-05-14 12:32 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-14 14:21 UTC] reeze dot xia at gmail dot com
Have you ever make before? 
you could try 
$ make clean
$ make
 [2012-05-15 02:23 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2012-05-15 02:23 UTC] laruence@php.net
could you paste your whole compiling log in pastebin.com,  then give us the link?

thanks
 [2012-05-15 04:27 UTC] zhanglijiu at gmail dot com
-Status: Feedback +Status: Open
 [2012-05-15 04:27 UTC] 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-07-05 15:12 UTC] xin3n at yahoo dot com
Yes 
$ make clean 
Really works
 [2012-11-07 19:55 UTC] giovanni dot guevara at dyversi dot com
$ make clean did the trick, thanks.
 [2015-08-02 14:20 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-08-02 14:20 UTC] cmb@php.net
Is there still an issue?
 [2015-08-16 04:23 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC