From: buildsmart at daleenterprise dot com Operating system: MacOSX PHP version: 6CVS-2007-01-13 (snap) PHP Bug Type: *Compile Issues Bug description: ICU/libxml configure issue
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 bug report at http://bugs.php.net/?id=40124&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40124&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40124&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40124&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40124&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40124&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40124&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40124&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40124&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40124&r=support Expected behavior: http://bugs.php.net/fix.php?id=40124&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40124&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40124&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40124&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40124&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40124&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40124&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40124&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40124&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40124&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40124&r=mysqlcfg