pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Users of ap13-perl
On 22/09/2011, at 9:35 PM, Adam Ciarciński wrote:
>> 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
>
Nope none of those.
.ifdef BSD_PKG_MK # begin pkgsrc settings
PKGSRCDIR= /Users/ianm/ports/pkgsrc
PKG_DBDIR= /var/db/pkg
LOCALBASE= /usr/pkg
VARBASE= /var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGMANDIR= man
USE_DESTDIR= yes
TOOLS_PLATFORM.pax?= /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}pax
TOOLS_PLATFORM.tar?= /usr/pkg/bin/${NBPAX_PROGRAM_PREFIX}tar
FETCH_CMD= /usr/bin/ftp
#DEPENDS_TARGET= package
#UPDATE_TARGET= package
ACCEPTABLE_LICENSES+= artistic-2.0
.endif # end pkgsrc settings
Ian McWilliam
Home |
Main Index |
Thread Index |
Old Index