Tests fail using built-in Perl 5.18 on macOS Catalina
twogee opened this issue · comments
Catalina does not allow relative paths to shared libraries, making t/10examp.t
, t/12quote.t
, t/13taint.t
fail. A possible fix is using rel2abs
#!perl -w
use File::Spec::Functions 'rel2abs';
use lib qw(rel2abs('blib/arch') rel2abs('blib/lib')); # needed since -T ignores PERL5LIB
@twogee did you find a workaround to this? I'm currently trying to build on Big Sur (M1).
This is a workaround, the real fix must be done in DynaLoader.