php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72299 undefined reference to `libiconv_open'
Submitted: 2016-05-31 05:29 UTC Modified: 2016-05-31 05:36 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:2 (40.0%)
From: sxddwuwang at gmail dot com Assigned:
Status: Open Package: ICONV related
PHP Version: 7.0.7 OS: CentOS release 6.3 (Final)
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: sxddwuwang at gmail dot com
New email:
PHP Version: OS:

 

 [2016-05-31 05:29 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-31 05:36 UTC] sxddwuwang at gmail dot com
libiconv version is 1.14
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 21 17:01:27 2019 UTC