php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68685 PHP doesn't build under musl-libc with iconv support enabled
Submitted: 2014-12-29 12:47 UTC Modified: 2015-01-03 13:16 UTC
From: james at jtaylor dot id dot au Assigned: olemarkus (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.5.20 OS: Gentoo
Private report: No CVE-ID: None
 [2014-12-29 12:47 UTC] james at jtaylor dot id dot au
Description:
------------
musl-libc provides its own iconv, which causes php to error out when it doesn't find libiconv. Build works fine with iconv support disabled.

What is odd is that the header check passes, but it still fails because it thinks libiconv is meant to exist.

Gentoo Bug Report: https://bugs.gentoo.org/show_bug.cgi?id=533666

Build.log: https://gist.githubusercontent.com/James-TR/433444c58e5cde2e0844/raw/bcb2c258e53fe4c3e7338cc258ed7c72dee1640e/build.log
config.log: https://gist.githubusercontent.com/James-TR/433444c58e5cde2e0844/raw/1b12670d54d0bb0b1c4e9343f728daa93dd833b2/config.log


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-30 00:30 UTC] james at jtaylor dot id dot au
Seems this was an issue with gentoo passing a path to libiconv when it wasn't meant to.
 [2015-01-03 13:16 UTC] olemarkus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: olemarkus
 [2015-01-03 13:16 UTC] olemarkus@php.net
Downstream issue
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Apr 15 19:01:27 2025 UTC