php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45694 libxml doesn't build with libiconv
Submitted: 2008-08-03 00:32 UTC Modified: 2008-08-03 13:43 UTC
From: Keisial at gmail dot com Assigned: pajoye (profile)
Status: Wont fix Package: Compile Failure
PHP Version: 5.2CVS-2008-08-03 (snap) OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-08-03 00:32 UTC] Keisial at gmail dot com
Description:
------------
libxml2 can't be built on windows with libraries from http://pecl2.php.net/downloads/php-windows-builds/ as it is searching for iconv_a.lib;iconv.lib, while libiconv_a.lib;libiconv.lib names are used.

Please backport to PHP_5_2 branch the patch used on head and 5.3: http://cvs.php.net/viewvc.cgi/php-src/ext/libxml/config.w32?r1=1.8.6.1&r2=1.8.6.2&pathrev=PHP_5_3

Config for iconv should also be backported, although in this case it's less critical, as library detection is commented.
http://cvs.php.net/viewvc.cgi/php-src/ext/iconv/config.w32?r1=1.6&r2=1.7


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-03 13:39 UTC] Keisial at gmail dot com
This bug is filed against PHP 5.2. I confirm it is fixed on PHP 5.3 (after gettting it to compile, bug #45698), as i already found when reporting, but other extensions don't work on it. That's why i'm using 5.2
Any reason for not backporting these patches to the 5.2 branch?
 [2008-08-03 13:43 UTC] pajoye@php.net
> This bug is filed against PHP 5.2. I confirm it is fixed on PHP 5.3
> (after gettting it to compile, bug #45698), as i already found when
> reporting, but other extensions don't work on it. That's why i'm
> using 5.2



> Any reason for not backporting these patches to the 5.2 branch?

It is frozen, we will stick to the libs we use until now unless there is a security issue.

It is relatively easy to change the file yourself (it may be annoying but also an acceptable pain :).
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Mar 28 22:01:23 2020 UTC