php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40124 ICU/libxml configure issue
Submitted: 2007-01-13 19:06 UTC Modified: 2007-01-15 09:35 UTC
From: buildsmart at daleenterprise dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 6CVS-2007-01-13 (snap) OS: MacOSX
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: buildsmart at daleenterprise dot com
New email:
PHP Version: OS:

 

 [2007-01-13 19:06 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-15 09:35 UTC] tony2001@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC