|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-15 09:35 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 08:00:01 2025 UTC |
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.