php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15248 xslt and iconv option cause errors
Submitted: 2002-01-27 15:02 UTC Modified: 2002-04-10 19:10 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:0 of 0 (0.0%)
From: ust at online dot marine dot su Assigned: markonen (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.1.1 OS: Mac OS X 10.1.2
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: ust at online dot marine dot su
New email:
PHP Version: OS:

 

 [2002-01-27 15:02 UTC] ust at online dot marine dot su
I need Iconvlib for XSLT suppot in PHP. I build iconvlib 
without any problems, but when I tried to configure PHP 
(4.0.6/4.1.0) I got the error messaches
checking whether to enable the XSLT Sablotron backend... 
yes
checking libexpat dir for Sablotron XSL support... no
checking for iconv_open in -lc... no
configure: error: iconv not found

Configure options
./configure -with-apxs --with-mysql=/usr/local/mysql --
with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-
dir=/usr/local --with-freetype-dir=/usr/local --with-zlib-
dir=/usr --with-xml --enable-xslt --with-xslt-sablot=/usr/
local --with-zlib=/usr --with-pdflib=/usr/lib --enable-wddx 
--enable-trans-sid --enable-ftp --with-gnu-ld

If I run configure without XSLT support I get an error when 
ran Apache with compiled PHP module
[osxserver:/usr/src/php-4.0.6] root# apachectl configtest
dyld: /usr/sbin/httpd Undefined symbols:
_iconv_module_entry

Does it iconv compatibility issues? Or it's bug in PHP 
sources?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-27 21:29 UTC] markonen@php.net
This is a known issue and will be corrected in the CVS 
within the next couple of days.
 [2002-01-28 02:28 UTC] ust at online dot marine dot su
guess, you mean issue, which occured because of apple 
libtool has -twolevel_namespace enabled by default, with 
can be overriden in prev. PHP build, changing ltconfig. 
There is another problem, which also have place on PHP 
4.0.6 (I don't know whether it true for another versions or 
not)It's enough to set only one configure otion --enable-
xslt and you will get an error. I don't familiar with all 
this compilation stuff and C, but looks like PHP can not 
find iconv header or dynlib or static lib and stacks. (I 
dled and installed libiconv1.7.tar.gz which produce 
libiconv***.dylib. I also configure libiconv with --enable-
-static, but it doesn't help. Any way didn't find a 
solution to configure PHP with XSLT support. I think that 
XSLT support is critical for reach content sites driven by 
PHP...
 [2002-03-09 13:31 UTC] sniper@php.net
Making this assigned so Marko won't forget to close
this when he fixes this. :)

 [2002-03-10 12:56 UTC] markonen@php.net
This bug has been superceded by bugs 15986 and 15987. 
Please follow those bugs for information regarding the 
forthcoming fixes for the issue you've reported.
 [2002-04-10 19:10 UTC] sniper@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC