Skip Menu |

This queue is for tickets about the XS-libcares CPAN distribution.

Report information
The Basics
Id: 131820
Status: resolved
Priority: 0/
Queue: XS-libcares

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.1.1.4
Fixed in: (no value)



Subject: undefined symbol: clock_gettime
The test suite fails on older linux distributions (e.g. CentOS 6): ... # Failed test 'use XS::libcares;' # at t/use.t line 5. # Tried to use 'XS::libcares'. # Error: Can't load '/home/cpansand/.cpan/build/2020013112/XS-libcares-1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so' for module XS::libcares: /home/cpansand/.cpan/build/2020013112/XS-libcares-1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so: undefined symbol: clock_gettime at /opt/perl-5.30.1/lib/5.30.1/x86_64-linux/DynaLoader.pm line 193. # # Compilation failed in require at t/use.t line 5. # BEGIN failed--compilation aborted at t/use.t line 5. # Looks like you failed 1 test of 1. t/use.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ...
Вск Фев 16 05:11:07 2020, SREZIC писал: Show quoted text
> The test suite fails on older linux distributions (e.g. CentOS 6): > > ... > # Failed test 'use XS::libcares;' > # at t/use.t line 5. > # Tried to use 'XS::libcares'. > # Error: Can't load '/home/cpansand/.cpan/build/2020013112/XS- > libcares-1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so' for module > XS::libcares: /home/cpansand/.cpan/build/2020013112/XS-libcares- > 1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so: undefined symbol: > clock_gettime at /opt/perl-5.30.1/lib/5.30.1/x86_64- > linux/DynaLoader.pm line 193. > # # Compilation failed in require at t/use.t line 5. > # BEGIN failed--compilation aborted at t/use.t line 5. > # Looks like you failed 1 test of 1. > t/use.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > ...
CentOS 6 needs "-lrt" in LIBS. Fixed in new version
Вск Фев 16 05:11:07 2020, SREZIC писал: Show quoted text
> The test suite fails on older linux distributions (e.g. CentOS 6): > > ... > # Failed test 'use XS::libcares;' > # at t/use.t line 5. > # Tried to use 'XS::libcares'. > # Error: Can't load '/home/cpansand/.cpan/build/2020013112/XS- > libcares-1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so' for module > XS::libcares: /home/cpansand/.cpan/build/2020013112/XS-libcares- > 1.1.1.4-0/blib/arch/auto/XS/libcares/libcares.so: undefined symbol: > clock_gettime at /opt/perl-5.30.1/lib/5.30.1/x86_64- > linux/DynaLoader.pm line 193. > # # Compilation failed in require at t/use.t line 5. > # BEGIN failed--compilation aborted at t/use.t line 5. > # Looks like you failed 1 test of 1. > t/use.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > ...