php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55637 PHP doesn't build with iconv
Submitted: 2011-09-07 22:16 UTC Modified: 2018-09-02 09:35 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: fa@php.net Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: trunk-SVN-2011-09-07 (SVN) OS: OpenBSD 4.9 amd64
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: fa@php.net
New email:
PHP Version: OS:

 

 [2011-09-07 22:16 UTC] fa@php.net
Description:
------------
Trying to build trunk with default ./configure
yields in errors.

Using ./configure --without-iconv works.

Seems closely related to https://bugs.php.net/bug.php?id=52611

Test script:
---------------
./buildconf
./configure
make

Expected result:
----------------
Build complete.

Actual result:
--------------
main/php_sprintf.o(.text+0x85): In function `php_sprintf':
/usr/src/php-src/trunk/main/php_sprintf.c:38: warning: vsprintf() is often 
misused, please use vsnprintf()
ext/ereg/regex/regcomp.o(.text+0x96b): In function `p_bracket':
/usr/src/php-src/trunk/ext/ereg/regex/regcomp.c:1170: warning: strcpy() is 
almost always misused, please use strlcpy()
Zend/zend_ini_parser.o(.text+0x47f): In function `zend_ini_do_op':
/usr/src/php-src/trunk/Zend/zend_ini_parser.y:81: warning: sprintf() is often 
misused, please use snprintf()
ext/standard/http_fopen_wrapper.o(.text+0x1097): In function 
`php_stream_url_wrap_http_ex':
/usr/src/php-src/trunk/ext/standard/http_fopen_wrapper.c:531: warning: strcat() 
is almost always misused, please use strlcat()
ext/iconv/iconv.o(.text+0x435): In function `_php_iconv_strlen':
/usr/src/php-src/trunk/ext/iconv/iconv.c:679: undefined reference to `iconv'
ext/iconv/iconv.o(.text+0x6b3): In function `php_iconv_string':
/usr/src/php-src/trunk/ext/iconv/iconv.c:565: undefined reference to `iconv'
ext/iconv/iconv.o(.text+0x711):/usr/src/php-src/trunk/ext/iconv/iconv.c:585: 
undefined reference to `iconv'
ext/iconv/iconv.o(.text+0x9af): In function `_php_iconv_strpos':
/usr/src/php-src/trunk/ext/iconv/iconv.c:932: undefined reference to `iconv'
ext/iconv/iconv.o(.text+0xea1): In function `_php_iconv_appendl':
/usr/src/php-src/trunk/ext/iconv/iconv.c:401: undefined reference to `iconv'
ext/iconv/iconv.o(.text+0xfbc):/usr/src/php-src/trunk/ext/iconv/iconv.c:438: 
more undefined references to `iconv' follow
collect2: ld returned 1 exit status
Stop in /usr/src/php-src/trunk (line 234 of Makefile).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-14 14:45 UTC] cmb@php.net
-Status: Open +Status: Feedback -Package: *General Issues +Package: Compile Failure -Assigned To: +Assigned To: cmb
 [2018-08-14 14:45 UTC] cmb@php.net
Is this still a problem with any actively supported PHP version?
 [2018-09-02 09:35 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-09-02 09:35 UTC] cmb@php.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: Wed Apr 24 00:01:32 2024 UTC