Subject: | Error: Can't locate object method "dl_load_flags" via package "Tree::Suffix" |
Hi,
The module Tree::Suffix failed to install, either from the source files
or vi cpan installer. In fact make test failed.
Output of perl -v:
This is perl 5, version 12, subversion 4 (v5.12.4) built for
x86_64-linux-thread-multi
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Output of cat /etc/*-release
Fedora release 15 (Lovelock)
Fedora release 15 (Lovelock)
Fedora release 15 (Lovelock)
Output of uname -a:
Linux slaslap 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
install Tree::Suffix OUTPUT :
Running install for module 'Tree::Suffix'
Running make for G/GR/GRAY/Tree-Suffix-0.21.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/Tree-Suffix-0.21-y1z_VU
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ......... 1/1
# Failed test 'use Tree::Suffix;'
# at t/00_load.t line 5.
# Tried to use 'Tree::Suffix'.
# Error: Can't locate object method "dl_load_flags" via package
"Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/00_load.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/01_new.t .......... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/01_new.t line 4.
BEGIN failed--compilation aborted at t/01_new.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/01_new.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/02_insert.t ....... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/02_insert.t line 4.
BEGIN failed--compilation aborted at t/02_insert.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/02_insert.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/03_lcs.t .......... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/03_lcs.t line 4.
BEGIN failed--compilation aborted at t/03_lcs.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/03_lcs.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/04_lrs.t .......... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/04_lrs.t line 4.
BEGIN failed--compilation aborted at t/04_lrs.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/04_lrs.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/05_clear.t ........ Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/05_clear.t line 4.
BEGIN failed--compilation aborted at t/05_clear.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/05_clear.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/06_remove.t ....... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/06_remove.t line 4.
BEGIN failed--compilation aborted at t/06_remove.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/06_remove.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/07_memleak.t ...... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/07_memleak.t line 4.
BEGIN failed--compilation aborted at t/07_memleak.t line 4.
t/07_memleak.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/08_find.t ......... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/08_find.t line 4.
BEGIN failed--compilation aborted at t/08_find.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/08_find.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/09_duplicates.t ... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/09_duplicates.t line 4.
BEGIN failed--compilation aborted at t/09_duplicates.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/09_duplicates.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/13 subtests
t/10_string.t ....... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/10_string.t line 4.
BEGIN failed--compilation aborted at t/10_string.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/10_string.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/11_memleak.t ...... Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/11_memleak.t line 4.
BEGIN failed--compilation aborted at t/11_memleak.t line 4.
t/11_memleak.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/12_index_vs_id.t .. Can't locate object method "dl_load_flags" via
package "Tree::Suffix" at /usr/lib64/perl5/DynaLoader.pm line 200.
Compilation failed in require at t/12_index_vs_id.t line 4.
BEGIN failed--compilation aborted at t/12_index_vs_id.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/12_index_vs_id.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
Test Summary Report
-------------------
t/00_load.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/01_new.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/02_insert.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/03_lcs.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/04_lrs.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/05_clear.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/06_remove.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/07_memleak.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/08_find.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 14 tests but ran 0.
t/09_duplicates.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/10_string.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/11_memleak.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/12_index_vs_id.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=13, Tests=1, 0 wallclock secs ( 0.05 usr 0.03 sys + 0.33 cusr
0.08 csys = 0.49 CPU)
Result: FAIL
Failed 13/13 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 2
GRAY/Tree-Suffix-0.21.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GRAY/Tree-Suffix-0.21.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GRAY/Tree-Suffix-0.21.tar.gz : make_test NO