FS#41778 - [php-gd] 5.6.0-4 undefined symbol: XpmLibraryVersion

Attached to Project: Arch Linux
Opened by Rains (rains31) - Monday, 01 September 2014, 10:19 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 22 November 2015, 11:55 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
php shows the error message below
'undefined symbol: XpmLibraryVersion'
when executing 'php -i'.
this bug can be fixed by adding '--with-xpm-dir=/usr \' into the php PKGBUILD file near line 96.
95 --with-freetype-dir=/usr \
96 +++ --with-xpm-dir=/usr \
97 --with-gd=shared,/usr \
Additional info:
* package version(s)
* config and/or log files etc.
testing/php-5.6.0-4 php-gd


Steps to reproduce:
# pacman -S php php-gd
# php -i
...blabla...
gd

GD Support => enabled
GD Version => 2.1.0-alpha
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.5.3
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.6.13
WBMP Support => enabled
XPM Support => enabled
php: symbol lookup error: /usr/lib/php/modules/gd.so: undefined symbol: XpmLibraryVersion
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 22 November 2015, 11:55 GMT
Reason for closing:  Implemented
Comment by Rains (rains31) - Monday, 01 September 2014, 10:34 GMT
php-gd 5.6.0 i686 has the same issue.
Comment by Jan de Groot (JGC) - Monday, 01 September 2014, 12:22 GMT
It might be a better idea to specifically disable XPM support in GD, as it's not a common file format, but pulls in shitloads of X11 libraries.
Comment by Pierre Schmitz (Pierre) - Tuesday, 02 September 2014, 19:21 GMT
Our gd is actually built without xpm support; still php-gd links to xpm. I'll need to look into this. In the meantime I'll add the libxpm dependency.

Loading...