Subject: | Undefined symbol "libiconv" |
t/00-compile.t fails on non-Linux systems. On FreeBSD systems I see:
...
# Failed test 'MarpaX/ESLIF.pm loaded ok'
# at t/00-compile.t line 49.
# got: '65280'
# expected: '0'
Can't load '/home/cpansand/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-9/blib/arch/auto/MarpaX/ESLIF/ESLIF.so' for module MarpaX::ESLIF: /home/cpansand/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-9/blib/arch/auto/MarpaX/ESLIF/ESLIF.so: Undefined symbol "libiconv" at /usr/perl5.20.2p/lib/5.20.2/amd64-freebsd/DynaLoader.pm line 193.
at /home/cpansand/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-9/blib/lib/MarpaX/ESLIF.pm line 18.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-9/blib/lib/MarpaX/ESLIF.pm line 18.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 4.
t/00-compile.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
...
On Mac OS X it looks like this:
...
# Failed test 'MarpaX/ESLIF.pm loaded ok'
# at t/00-compile.t line 49.
# got: '65280'
# expected: '0'
Can't load '/Users/eserte/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-0/blib/arch/auto/MarpaX/ESLIF/ESLIF.bundle' for module MarpaX::ESLIF: dlopen(/Users/eserte/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-0/blib/arch/auto/MarpaX/ESLIF/ESLIF.bundle, 2): Symbol not found: _iconv
Referenced from: /Users/eserte/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-0/blib/arch/auto/MarpaX/ESLIF/ESLIF.bundle
Expected in: flat namespace
in /Users/eserte/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-0/blib/arch/auto/MarpaX/ESLIF/ESLIF.bundle at /opt/perl-5.25.11/lib/5.25.11/darwin-2level/DynaLoader.pm line 197.
BEGIN failed--compilation aborted at /Users/eserte/.cpan/build/2017032906/MarpaX-ESLIF-1.0.48-0/blib/lib/MarpaX/ESLIF.pm line 18.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 4.
t/00-compile.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
...