Fail more gracefully on non-loadable compiled module parts
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 4 Nov 2015 14:48:23 +0000 (15:48 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 4 Nov 2015 14:48:46 +0000 (15:48 +0100)
commitac8d330a378aa569a21c2952ffa784afbbab18dc
tree3622c5e3b6bbecc06ba9aff64b3fcaa0158a629b
parente051b246452a67e934830514c5c6c6bd3288d63a
Fail more gracefully on non-loadable compiled module parts

Without this in my current system state `prove -l t/09sqlt-diagram.t` gives

...Can't load producer 'Diagram' : Error loading Diagram as SQL::Translator::Producer::Diagram :
Can't load '.../5.16.2/lib/site_perl/5.16.2/x86_64-linux-thread-multi-ld/auto/GD/GD.so' for module GD:
libgd.so.2: cannot open shared object file: No such file or directory at
.../5.16.2/lib/5.16.2/x86_64-linux-thread-multi-ld/DynaLoader.pm line 190.
lib/Test/SQL/Translator.pm
t/09sqlt-diagram.t