#40124 [Opn->Bgs]: ICU/libxml configure issue
| From: | tony2001@php.net | Date: | Mon, 15 Jan 2007 09:35:35 +0000 |
| Subject: | #40124 [Opn->Bgs]: ICU/libxml configure issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107599@lists.php.net to get a copy of this message | ||
ID: 40124
Updated by: tony2001@php.net
Reported By: buildsmart at daleenterprise dot com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
Operating System: MacOSX
PHP Version: 6CVS-2007-01-13 (snap)
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-01-13 19:06:08] buildsmart at daleenterprise dot com
Description:
------------
Binding failure during configuration of php6
Actual result:
--------------
The issue is related to the way the ICU dynamic libraries
are generated.
Someone else with FreeBSD has the exact same issue and I
just figured out the cause.
Examining the libraries I found that the runtime paths were
missing making linking difficult.
I have the 'otool' utility which is equivelent to the 'ldd'
utility I believe.
/usr/local/icu/lib/libicuuc.dylib.36.0:
libicuuc.dylib.36 (compatibility version 36.0.0,
current version 36.0.0)
libicudata.dylib.36 (compatibility version 36.0.0,
current version 36.0.0)
/usr/lib/libSystem.B.dylib (compatibility version
1.0.0, current version 88.1.7)
/usr/lib/libstdc++.6.dylib (compatibility version
7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version
1.0.0, current version 1.0.0)
I used the 'install_name_tool' utility to fix up the the
libraries (I didn't have to swap 36.0 / dylib order but did
it just to be Mac OS X environment compliant) and this is
what I now have.
/usr/local/icu/lib/libicuuc.36.0.dylib:
/usr/local/icu/lib/libicuuc.36.0.dylib
(compatibility version 36.0.0, current version 36.0.0)
/usr/local/icu/lib/libicudata.36.0.dylib
(compatibility version 36.0.0, current version 36.0.0)
/usr/lib/libSystem.B.dylib (compatibility version
1.0.0, current version 88.1.7)
/usr/lib/libstdc++.6.dylib (compatibility version
7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version
1.0.0, current version 1.0.0)
When time permits I'll generate a universal binary of the
ICU software in an installer package so that no one else
experiences this same stupid issue.
Also, the libxml test isn't broken, because it include the
icu libs during the test-build against libxml, it fails
because it can't load the icu libs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40124&edit=1