Subject: | undefined symbol: pthread_once |
This is on Debian Linux, perl5.30.1 compiled without threads:
$ make test
"/home/njh/perl5/perlbrew/perls/perl-5.30.1/bin/perl5.30.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTable.bs 644
PERL_DL_NONLAZY=1 "/home/njh/perl5/perlbrew/perls/perl-5.30.1/bin/perl5.30.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
===( 1;0 1/1 0/? 0/? 0/? 0/? 0/? 0/? 0/? 0/? 0/? )======
# Failed test 'use Proc::ProcessTable;'
# at t/00-load.t line 6.
# Tried to use 'Proc::ProcessTable'.
# Error: Can't load '/tmp/user/1000/build/Proc-ProcessTable-0.59-9/blib/arch/auto/Proc/ProcessTable/ProcessTable.so' for module Proc::ProcessTable: /tmp/user/1000/build/Proc-ProcessTable-0.59-9/blib/arch/auto/Proc/ProcessTable/ProcessTable.so: undefined symbol: pthread_once at /home/njh/perl5/perlbrew/perls/perl-5.30.1/lib/5.30.1/x86_64-linux/DynaLoader.pm line 193.
# at t/00-load.t line 6.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
Bailout called. Further testing stopped:
FAILED--Further testing stopped.
make: *** [Makefile:1061: test_dynamic] Error 255