Subject: | Undefined symbol "WebPFree" |
With older webp installations (e.g. freebsd 9, debian/wheezy, debian/jessie, CentOS6) the test suite fails:
...
# Failed test 'use Imager::File::WEBP;'
# at t/00use.t line 5.
# Tried to use 'Imager::File::WEBP'.
# Error: Can't load '/usr/home/eserte/.cpan/build/2018120322/Imager-File-WEBP-0.002-QElZ5u/blib/arch/auto/Imager/File/WEBP/WEBP.so' for module Imager::File::WEBP: /usr/home/eserte/.cpan/build/2018120322/Imager-File-WEBP-0.002-QElZ5u/blib/arch/auto/Imager/File/WEBP/WEBP.so: Undefined symbol "WebPFree" at /usr/local/lib/perl5/5.20/mach/DynaLoader.pm line 193.
# at /usr/home/eserte/.cpan/build/2018120322/Imager-File-WEBP-0.002-QElZ5u/blib/lib/Imager/File/WEBP.pm line 11.
# BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2018120322/Imager-File-WEBP-0.002-QElZ5u/blib/lib/Imager/File/WEBP.pm line 11.
# Compilation failed in require at t/00use.t line 5.
# BEGIN failed--compilation aborted at t/00use.t line 5.
# Looks like you failed 1 test of 1.
t/00use.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
... etc ...