Bug #72299 [Opn]: undefined reference to `libiconv_open'
| From: | sxddwuwang at gmail dot com | Date: | Tue, 31 May 2016 05:36:57 +0000 |
| Subject: | Bug #72299 [Opn]: undefined reference to `libiconv_open' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201359@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
User updated by: sxddwuwang at gmail dot com
Reported by: sxddwuwang at gmail dot com
Summary: undefined reference to `libiconv_open'
Status: Open
Type: Bug
Package: ICONV related
Operating System: CentOS release 6.3 (Final)
PHP Version: 7.0.7
Block user comment: N
Private report: N
New Comment:
libiconv version is 1.14
Previous Comments:
------------------------------------------------------------------------
[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