Hello, I want to install Imagemagicken php 8.1 but I can't, I have the following error, please help. my OS is Ubuntu 20.04.5 LTS x86_64(Py3.7.9)
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... It exists
found in /usr/local/bin/MagickWand-config
./configure: line 4218: /usr/local/bin/MagickWand-config: Is a directory
checking if ImageMagick version is at least 6.2.4... configure: error: no. You need at least ImageMagick version 6.2.4 to use this extension.
make: *** No targets specified and no makefile found. Stop.
error