Imagick.so file having wrong structure in mac OS High Sierra

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mustmuna
Posts: 1
Joined: 2019-06-06T01:18:58-07:00
Authentication code: 1152

Imagick.so file having wrong structure in mac OS High Sierra

Post by mustmuna »

Hi

I am trying to install and use imagick php extention in localhost to use Adobe Stock API(SDK) and AMPPS
And I am hitting a brick wall.

After many pitfalls I finally managed to install it.
and the file is having the wrong structure.

https://photos.app.goo.gl/mpDN3if3YqXo2gYAA

I tried this on two computes. I read that it can be connected to 64 bit versus 32 bit issue.
But this one should be equal to 64 bit
Mac os High Sierra
2,4 GHz Intel Core i5

file imagick.so
imagick.so: Mach-O 64-bit bundle x86_64

This command said that Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated.
brew install homebrew/php/php71-imagick

so I installed with pear using pecl
pecl install imagick

The .so file is copied here
/Applications/AMPPS/php-7.1/lib/extensions/ext
and it created it here
/Applications/AMPPS/php-7.1/lib/extensions/no-debug-non-zts-20160303

What to do now? I am at the end of my wits
Post Reply