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
Posts: 1
Joined: 2019-06-06T01:18:58-07:00
Authentication code: 1152 file having wrong structure in mac OS High Sierra

Post by mustmuna »


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.

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 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
and it created it here

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