I'm trying to add WebP support to ImageMagick but it does not.
First I've installed libwebp 1.0.2 (https://developers.google.com/speed/webp/docs/compiling#building), so cwebp -q 80 image.png -o image.webp
works correctly and the library's path exists in /lib/ld-linux.so.2
After I'm trying to configure ImageMagick with WebP support adding --with-webp=yes
option. In some trials I used LDFLAGS=/usr/local/lib
also but anyway log shows
WEBP --with-webp=yes no
for me it looks like IM conf not able to see webp libraries. If so how can I point IM to use existing WebP libraries or, please, guide me the right way to add WebP support to IM.
Thank you in advance!