Bug #66685 [Opn->Asn]: dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion

From: Date: Mon, 01 Aug 2016 02:50:28 +0000
Subject: Bug #66685 [Opn->Asn]: dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202783@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66685&edit=1 ID: 66685 Updated by: kalle@php.net Reported by: jigar dot tidus at gmail dot com Summary: dyld: lazy symbol binding failed: Symbol not found: _XpmLibraryVersion -Status: Open +Status: Assigned Type: Bug Package: GD related Operating System: Mac OS X 10.6.2 PHP Version: 5.5.9 -Assigned To: +Assigned To: ondrej Block user comment: N Private report: N New Comment: Suppose this commit could maybe be the cause of it: https://github.com/php/php-src/commit/5e9c6c3b644b290255fb10c8eb34778665c2f8a3 Assigning to ondrej as he was the author of this Previous Comments: ------------------------------------------------------------------------ [2014-02-10 12:43:10] jigar dot tidus at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=66685&edit=1

« previous php.bugs (#202783) next »