Subject: | undefined symbol: VSwrite + SDfileinfo |
On RedHat-like systems (e.g. Fedora 28 or CentOS 7) the test suite fails with undefined symbol errors:
...
Can't load '/home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/arch/auto/PDLA/IO/HDF/VS/VS.so' for module PDLA::IO::HDF::VS: /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/arch/auto/PDLA/IO/HDF/VS/VS.so: undefined symbol: VSwrite at /opt/perl-5.26.3/lib/5.26.3/x86_64-linux/DynaLoader.pm line 193.
Compilation failed in require at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF.pm line 46.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF.pm line 46.
Compilation failed in require at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF/SD.pm line 134.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF/SD.pm line 134.
Compilation failed in require at t/hdf_sd.t line 33.
BEGIN failed--compilation aborted at t/hdf_sd.t line 33.
# Looks like your test exited with 2 before it could output anything.
t/hdf_sd.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 37/37 subtests
Can't load '/home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/arch/auto/PDLA/IO/HDF/SD/SD.so' for module PDLA::IO::HDF::SD: /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/arch/auto/PDLA/IO/HDF/SD/SD.so: undefined symbol: SDfileinfo at /opt/perl-5.26.3/lib/5.26.3/x86_64-linux/DynaLoader.pm line 193.
Compilation failed in require at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF.pm line 45.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019041408/PDLA-IO-HDF-2.013006-0/blib/lib/PDLA/IO/HDF.pm line 45.
Compilation failed in require at t/hdf_vdata.t line 12.
BEGIN failed--compilation aborted at t/hdf_vdata.t line 12.
t/hdf_vdata.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
...