Bug #66685 [NEW]: dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion
| From: | jigar dot tidus at gmail dot com | Date: | Mon, 10 Feb 2014 12:43:11 +0000 |
| Subject: | Bug #66685 [NEW]: dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184238@lists.php.net to get a copy of this message | ||
From: jigar dot tidus at gmail dot com
Operating system: Mac OS X 10.6.2
PHP version: 5.5.9
Package: GD related
Bug Type: Bug
Bug description:dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion
Description:
------------
Compiling PHP 5.5.9 in /usr/local/php55
I have compiled all the dependent libraries(zlib, libpng, libjpeg,
libfreetype2, libgd) in /usr/local/extra
Issue:
-------
When gd.so is enabled in php.ini, I get error when executing
"/usr/local/php55/bin/php -i". Below is the error I get in the gd
section:
dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion
Referenced from: /usr/local/php55/lib/php/extensions/ext/gd.so
Expected in: flat namespace
dyld: Symbol not found: _XpmLibraryVersion
Referenced from: /usr/local/php55/lib/php/extensions/ext/gd.so
Expected in: flat namespace
Output is blank after this error. Environment variables and other
extension details are skipped in the output.
This same issue was in 5.5.8 version of PHP.
FYI: gd.so is loaded fine in PHP 5.4.24 and PHP 5.3.28.
I think its a bug because its looking for xpm version even when I have
disabled it.
Please let me know a workaround to disable xpm support from gd.
Thanks,
Jigar
Test script:
---------------
libgd configure command:
LDFLAGS="-arch i386 -L/usr/local/extra/lib" CPPFLAGS="-arch i386
-I/usr/local/extra/include" ./configure --prefix=/usr/local/extra
--with-zlib=/usr/local/extra/ --with-png=/usr/local/extra/
--with-jpeg=/usr/local/extra/ --without-xpm
--with-jpeg=/usr/local/extra/ --with-freetype=/usr/local/extra/
--enable-shared
and php configure command:
LDFLAGS="-arch i386 -L/usr/local/extra/lib" CPPFLAGS="-arch i386
-I/usr/local/extra/include" ./configure --prefix=/usr/local/php55
--with-gd=shared,/usr/local/extra --with-png-dir=/usr/local/extra/
--with-freetype-dir=/usr/local/extra/ --with-zlib-dir=/usr/local/extra/
--with-iconv=/usr/local/extra/ --with-xpm-dir=no
Expected result:
----------------
Execute "php -i" successfully.
Actual result:
--------------
proper phpinfo
--
Edit bug report at https://bugs.php.net/bug.php?id=66685&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66685&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66685&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66685&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66685&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66685&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66685&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66685&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66685&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66685&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66685&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66685&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66685&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66685&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66685&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66685&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66685&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66685&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66685&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66685&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66685&r=mysqlcfg