Package Details: php-imagick 3.4.2-1

Git Clone URL: https://aur.archlinux.org/php-imagick.git (read-only)
Package Base: php-imagick
Description: PHP extension for IMagick
Upstream URL: http://pecl.php.net/package/imagick
Licenses: PHP
Submitter: None
Maintainer: nubs
Last Packager: nubs
Votes: 63
Popularity: 0.366221
First Submitted: 2009-09-10 12:58
Last Updated: 2016-04-25 02:49

Latest Comments

FoPref commented on 2016-04-26 18:36

This package, as well as php7-imagick-git, does not work on my system.

# php --info

imagick
*** Error in `php': free(): invalid next size (fast): 0x00000000028a0010 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x6f364)[0x7f077dce0364]
/usr/lib/libc.so.6(+0x74d96)[0x7f077dce5d96]
/usr/lib/libc.so.6(+0x7557e)[0x7f077dce657e]
/usr/lib/libc.so.6(+0x77962)[0x7f077dce8962]
/usr/lib/libc.so.6(+0x78e0f)[0x7f077dce9e0f]
/usr/lib/libc.so.6(posix_memalign+0x3f)[0x7f077dcebf8f]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(AllocateSemaphoreInfo+0x2a)[0x7f0773b822ca]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(NewLinkedList+0x60)[0x7f0773afaaf0]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(+0x100102)[0x7f0773adb102]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(AcquireExceptionInfo+0x2a)[0x7f0773adb3da]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(IsEventLogging+0x3d)[0x7f0773b1498d]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(LogMagickEventList+0x38)[0x7f0773b14ba8]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(LogMagickEvent+0x85)[0x7f0773b14c95]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(+0x140baa)[0x7f0773b1bbaa]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(+0x1411c0)[0x7f0773b1c1c0]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(OpenModules+0x70)[0x7f0773b1d0c0]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(GetMagickInfo+0x1c0)[0x7f0773b17940]
/usr/lib/libMagickCore-6.Q16HDRI.so.2(GetMagickList+0x68)[0x7f0773b180e8]
/usr/lib/libMagickWand-6.Q16HDRI.so.2(MagickQueryFormats+0x30)[0x7f0773f6b1d0]
/usr/lib/php/modules/imagick.so(zm_info_imagick+0x3d)[0x7f0774223b4d]
php[0x5b6ac3]
php(zend_hash_apply+0x84)[0x69a444]
php(php_print_info+0x8cf)[0x5b754f]
php[0x71db22]
php[0x4328ce]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f077dc91710]
php(_start+0x29)[0x432a09]

Any usage of imagick in a PHP script will also crash.

nubs commented on 2016-03-04 17:05

Updated to 3.4.0 that was released today. Please report any problems!

nubs commented on 2016-02-18 14:17

3.3.0 is stable, but it doesn't build for PHP 7 so it won't work for archlinux (without building an old PHP).

Radioactiveman commented on 2016-02-17 22:51

Why do you not update it meanwhile to version 3.3.0? This is a stable version...

nubs commented on 2016-01-04 14:12

Once the PHP 7 support is final I will update this with the new version. Thanks for all the comments and the updated PKGBUILD everyone!

mtorromeo commented on 2016-01-04 08:02

PKGBUILD for 3.4.0rc4 here: https://github.com/mtorromeo/archlinux-packages/blob/master/php-imagick/PKGBUILD

miau9202 commented on 2016-01-04 06:40

php7 support is started in 3.4.0, but it's still in RC stage.
here to view change log: https://pecl.php.net/package-changelog.php?package=imagick

ignace72 commented on 2016-01-02 20:45

Hello,
I have a compilation error with php 7.0.1:

/tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c: In function 'php_imagick_is_url':
/tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c:52:46: warning: passing argument 2 of 'php_stream_locate_url_wrapper' from incompatible pointer type [-Wincompatible-pointer-types]
if (php_stream_locate_url_wrapper(filename, &path_for_open, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC)) {
^
In file included from /usr/include/php/main/php.h:394:0,
from /tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/php_imagick.h:40,
from /tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c:21:
/usr/include/php/main/php_streams.h:569:28: note: expected 'const char **' but argument is of type 'char **'
PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const char **path_for_open, int options);
^
/tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c: In function 'php_imagick_read_image_using_php_streams':
/tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c:156:58: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function)
stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL);
^
/usr/include/php/main/php_streams.h:572:107: note: in definition of macro 'php_stream_open_wrapper'
#define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
^
/tmp/yaourt-tmp-ignace/aur-php-imagick/src/imagick-3.1.2/imagick_file.c:156:58: note: each undeclared identifier is reported only once for each function it appears in
stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL);
^
/usr/include/php/main/php_streams.h:572:107: note: in definition of macro 'php_stream_open_wrapper'
#define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
^
Makefile:194: recipe for target 'imagick_file.lo' failed
make: *** [imagick_file.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build php-imagick.
==> Restart building php-imagick ? [y/N]

Thank you

nubs commented on 2015-06-19 02:07

I haven't been able to reproduce this problem with or without pkg-config installed. Do you have any more details?

blacktav commented on 2015-06-18 11:14

After building, apache fails to start reporting:
/usr/bin/httpd: symbol lookup error: /usr/lib/php/modules/imagick.so: undefined symbol: MagickWandGenesis
/
Problem with pkg-config not being installed; "pacman -S pkg-config" solves the problem

All comments