--- Build.PL.orig 2023-08-24 22:17:52 +++ Build.PL 2023-08-24 22:27:34 @@ -2,9 +2,10 @@ use strict; # We need to find imlib2-config -my $CONFIG = "imlib2-config"; +# Actually we need to use pkg-config +my $CONFIG = "pkg-config imlib2"; -my $version = `$CONFIG --version`; +my $version = `$CONFIG --modversion`; if (!$version) { warn 'You must install the imlib2 library before you can install Image::Imlib2. You can obtain imlib2 from