public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can not use php-imagick for PHP 7.3.7 under cygwin64
@ 2019-11-29  2:32 Ing. Viliam Kubis
  0 siblings, 0 replies; only message in thread
From: Ing. Viliam Kubis @ 2019-11-29  2:32 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1807 bytes --]

Hi all,

I am trying to compile php-imagick extension as it's not offered in
setup. I installed all development libraries, downloaded 3.4.4 source
from https://pecl.php.net/package/imagick, then ran phpize, make, make
test (all passed), and finally make install. The dll was installed to
/lib/php/20180731/imagick.dll which is correct for php 7.3.7.

However once I enable the extension, almost everything crashes:
$ php -i | grep -i imagick
/etc/php.d/imagick.ini,
imagick
imagick module => enabled
imagick module version => 3.4.4
imagick classes => Imagick, ImagickDraw, ImagickPixel,
ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version => ImageMagick 6.9.10-11 Q16
x86_64 2018-09-08 https://www.imagemagick.org
Imagick using ImageMagick library version => ImageMagick 6.9.10-11 Q16
x86_64 2018-09-08 https://www.imagemagick.org
imagick.locale_fix => 0 => 0
imagick.progress_monitor => 0 => 0
imagick.skip_version_check => 0 => 0

Ok, but:
$ composer
      0 [main] php 376 child_info_fork::abort:
\??\C:\cygwin64\bin\cygautotrace-3.dll: Loaded to different address:
parent(0x3E8C40000) != child(0xCD0000)

      0 [main] php 377 child_info_fork::abort:
\??\C:\cygwin64\bin\cygMagickCore-6.Q16-6.dll: Loaded to different
address: parent(0x3F2750000) != child(0x10F0000)
PHP Fatal error:  Uncaught ErrorException: proc_open(): fork failed -
Resource temporarily unavailable in ...

I've tried rebasing multiple times, I've made sure the dlls are in
rebase db:
$ grep -r cygMagickCore /etc/rebase.db.x86_64
Binary file /etc/rebase.db.x86_64 matches
$ grep -r cygautotrace /etc/rebase.db.x86_64
Binary file /etc/rebase.db.x86_64 matches

Only way to make PHP work again is to disable the extension.

Any help is greatly appreciated.

Thank you,
Viliam
-- 
Sent using SeaMonkey mail

[-- Attachment #2: 0xFDEBF53CBD13FEB2.asc --]
[-- Type: application/pgp-keys, Size: 3154 bytes --]

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-28 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-29  2:32 Can not use php-imagick for PHP 7.3.7 under cygwin64 Ing. Viliam Kubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).