pkgsrc-Users archive

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

Re: Users of ap13-perl



> When loading the lib/httpd/mod_php5.so module in apache and trying to call GD 
> functions we have
> 
> PHP Fatal error:  Call to undefined function imagecreate() 
> 
> Running the php function phpinfo(); inside a php script doesn't show that the 
> GD extension is loaded unlike the command line php -i
> 
> 
> Trying to load up mod_perl under apache shows the following error.
> 
> [Sat Jun 18 10:55:57 2011] [error] Can't load 
> '/usr/pkg/lib/perl5/vendor_perl/5.12.0/darwin-thread-multi-2level/auto/GD/GD.bundle'
>  for module GD: 
> dlopen(/usr/pkg/lib/perl5/vendor_perl/5.12.0/darwin-thread-multi-2level/auto/GD/GD.bundle,
>  1): 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
>  at /usr/pkg/lib/perl5/5.12.0/darwin-thread-multi-2level/DynaLoader.pm line 
> 204.\n at (eval 941) line 2\nCompilation failed in require at (eval 941) line 
> 2.\n
> [Sat Jun 18 10:55:57 2011] [error] Can't load Perl module GD for server 
> kristamari:80, exiting...
> 
> 
> Running some perl scripts via cgi and using p5-GD does generate some images 
> without error, showing that GD is functional to some extent.
> 
> 
> Ian McWilliam

By any chance, are any of these in your mk.conf:

PKG_OPTIONS.apache=    apache-mpm-worker
PKG_OPTIONS.php=       maintainer-zts

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index