Bug #72299 [Opn->Fbk]: undefined reference to `libiconv_open'
| From: | cmb@php.net | Date: | Wed, 14 Apr 2021 13:28:18 +0000 |
| Subject: | Bug #72299 [Opn->Fbk]: undefined reference to `libiconv_open' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-233428@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72299&edit=1
ID: 72299
Updated by: cmb@php.net
Reported by: sxddwuwang at gmail dot com
Summary: undefined reference to `libiconv_open'
-Status: Open
+Status: Feedback
Type: Bug
Package: ICONV related
Operating System: CentOS release 6.3 (Final)
PHP Version: 7.0.7
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> In iconv.c add the following code is success
That wouldn't be a general solution, though.
Anyhow, is this still an issue for you with any of the actively
supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2016-05-31 05:36:56] sxddwuwang at gmail dot com
libiconv version is 1.14
------------------------------------------------------------------------
[2016-05-31 05:29:48] sxddwuwang at gmail dot com
Description:
------------
make error
/root/toole/php-7.0.6/ext/iconv/iconv.c:755: undefined reference to `libiconv_open'
/root/toole/php-7.0.6/ext/iconv/iconv.c:779: undefined reference to `libiconv'
/root/toole/php-7.0.6/ext/iconv/iconv.c:813: undefined reference to `libiconv_close'
Test script:
---------------
In iconv.c add the following code is success
#ifndef LIBICONV_PLUG
#define LIBICONV_PLUG
#endif
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72299&edit=1