Subject: | undefined symbol sd_notify during make test |
Date: | Thu, 27 Aug 2015 14:35:28 -0400 |
To: | "bug-Systemd-Daemon [...] rt.cpan.org" <bug-Systemd-Daemon [...] rt.cpan.org> |
From: | "Gebhardt, Thomas V (Tom)" <tom.gebhardt [...] verizon.com> |
Distro: Systemd-Daemon-0.06
Perl: perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
O/S: Linux mysystem 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@genii-monitor Systemd-Daemon-0.06]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lsystemd
Generating a Unix-style Makefile
Writing Makefile for Systemd::Daemon
Writing MYMETA.yml and MYMETA.json
[root@genii-monitor Systemd-Daemon-0.06]# make
cp lib/Systemd/Daemon/Inline.pm blib/lib/Systemd/Daemon/Inline.pm
cp lib/Systemd/Daemon.pm blib/lib/Systemd/Daemon.pm
make teManifying 1 pod document
"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" Makefile.PL MANIFEST.SKIP
s"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" Makefile.PL rpm/perl-Systemd-Daemon.spec
t[root@genii-monitor Systemd-Daemon-0.06]# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ............ 1/? Bailout called. Further testing stopped:
# Failed test 'use Systemd::Daemon;'
# at t/00-load.t line 11.
# Tried to use 'Systemd::Daemon'.
# Error: Can't load '/root/Systemd-Daemon-0.06/blib/arch/auto/Systemd/Daemon/Inline/Inline.so' for module Systemd::Daemon::Inline: /root/Systemd-Daemon-0.06/blib/arch/auto/Systemd/Daemon/Inline/Inline.so: undefined symbol: sd_notify at /usr/lib64/perl5/DynaLoader.pm line 190.
# at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62.
# Compilation failed in require at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62.
# BEGIN failed--compilation aborted at /root/Systemd-Daemon-0.06/blib/lib/Systemd/Daemon.pm line 62.
# Compilation failed in require at t/00-load.t line 11.
# BEGIN failed--compilation aborted at t/00-load.t line 11.
Use of uninitialized value $Systemd::Daemon::VERSION in concatenation (.) or string at t/00-load.t line 14.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 255
Tom Gebhardt
Senior Network Engineer, IT | Verizon Telematics
tom.gebhardt@verizon.com<mailto:tom.gebhardt@verizon.com>
Office/Mobile: 404/573-5960
2002 Summit Blvd., Suite 1800, Atlanta, GA 30319