I have a module Text::Pspell that is failing make test on my Debian Woody machine. It only fails with PERL_DL_NONLAZY=1. With PERL_DL_NONLAZY=0 make test passes all tests.

I assume it's due to some unresolved symbol(s). nm ./blib/arch/auto/Text/Pspell/Pspell.so shows many "U" entries.

What I don't know is how to determine what exactly is not resolved.

Running my test script generates this output:

~/Text-Pspell-0.02$ PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib +/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 t/*.t 1..17 ok 1 destroyed by out of scope ok 2 ok 3 ok 4 language-tag: en spelling: jargon: word-list-path: /usr/share/pspell module-search-order: aspell,ispell encoding: iso8859-1 ignore: (default) personal: (default) repl: (default) save-repl: (default) ignore-repl: (default) sug-mode: fast run-together: (default) master: master-flags: module: ok 5 ok 6 ok 7 en Aborted
That's not much info. Can someone offer tips on debugging?

Thanks,


In reply to PERL_DL_NONLAZY and make test failure by moseley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.