pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46337: pkgsrc graphics/php-gd undefined symbol Mac OS X



>Number:         46337
>Category:       pkg
>Synopsis:       pkgsrc graphics/php-gd undefined symbol Mac OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 16 06:35:06 +0000 2012
>Originator:     Ian McWilliam
>Release:        
>Organization:
>Environment:
Darwin kristamari-w1 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 
PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
>Description:
Apache mod_php module fails to load php-gd.

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/pkg/lib/php/20090630/gd.so' - dlopen(/usr/pkg/lib/php/20090630/gd.so, 9): 
Symbol not found: __cg_jpeg_resync_to_restart\n  Referenced from: 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO\n
  Expected in: /usr/pkg/lib/libjpeg.8.dylib\n in 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
 in Unknown on line 0

Potentially an issue with which jpeg lib is being found. Mac OS X vs pkgsrc.

Mac OS X 10.6.8
Mac OS X 10.7.3
>How-To-Repeat:
Just build

www/apache22
www/ap-php
graphics/php-gd

Enable php-gd in /usr/pkg/etc/php.ini
load mod_php in Apache conf.

/var/log/httpd/error_log contains the error message.
>Fix:



Home | Main Index | Thread Index | Old Index