Skip to content

libssl.so.1.0.0: cannot open shared object file: No such file or directory #10

Description

@eserte

Running the test suite on contemporary debian systems (e.g. debian 12) fails because apparently the libssl shared library could not be found. The libssl library is there, but only in newer versions (1.1 or 3).

"/opt/perl-5.41.4/bin/perl5.41.4" -MExtUtils::Command::MM -e 'cp_nonempty' -- Agent.bs blib/arch/auto/NewRelic/Agent/Agent.bs 644
PERL_DL_NONLAZY=1 "/opt/perl-5.41.4/bin/perl5.41.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'NewRelic/Agent.pm loaded ok'
#   at t/00-compile.t line 37.
#          got: '65280'
#     expected: '0'
Can't load '/home/cpansand/.cpan/build/2024101216/NewRelic-Agent-0.0532-0/blib/arch/auto/NewRelic/Agent/Agent.so' for module NewRelic::Agent: libssl.so.1.0.0: cannot open shared object file: No such file or directory at /opt/perl-5.41.4/lib/5.41.4/x86_64-linux/DynaLoader.pm line 206.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 1.
t/00-compile.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

#   Failed test 'use NewRelic::Agent;'
#   at t/01-basic.t line 2.
#     Tried to use 'NewRelic::Agent'.
#     Error:  Can't load '/home/cpansand/.cpan/build/2024101216/NewRelic-Agent-0.0532-0/blib/arch/auto/NewRelic/Agent/Agent.so' for module NewRelic::Agent: libssl.so.1.0.0: cannot open shared object file: No such file or directory at /opt/perl-5.41.4/lib/5.41.4/x86_64-linux/DynaLoader.pm line 206.
# # Compilation failed in require at t/01-basic.t line 2.
# BEGIN failed--compilation aborted at t/01-basic.t line 2.
Can't locate object method "_new" via package "NewRelic::Agent" at /home/cpansand/.cpan/build/2024101216/NewRelic-Agent-0.0532-0/blib/lib/NewRelic/Agent.pm line 31.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/01-basic.t .... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions