Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

undefined symbol: Perl_xs_apiversion_bootcheck

by tqisjim (Beadle)
on Mar 15, 2013 at 15:50 UTC ( #1023728=perlquestion: print w/replies, xml ) Need Help??
tqisjim has asked for the wisdom of the Perl Monks concerning the following question:

This is vaguely a follow-up question to one I asked earlier about building Perl v5.10.

Cpantesters reports that my dist, NoSQL::PL2SQL, is failing on v5.10 and v5.12, but ok on previous and later versions. I ended up testing on Perl 5.12 and got this error:

perl: symbol lookup error: /home/jim/perl5/lib/perl5/i686-linux/auto/X +ML/Parser/Expat/ undefined symbol: Perl_xs_apiversion_bootch +eck
As far as I can tell, cpantesters has not experienced similar problems: Notwithstanding, I also found this report:

Can anyone here shed any illumination?


Replies are listed 'Best First'.
Re: undefined symbol: Perl_xs_apiversion_bootcheck
by tobyink (Abbot) on Mar 15, 2013 at 16:28 UTC

    Tried installing on a clean 5.12.5 here, and it failed. Here's what I did:

    $ cpanm NoSQL::PL2SQL ... (this installed 20 deps then failed during NoSQL::PL2SQL's test suite) $ cd ~/.cpanm/work/1363363212.13296/NoSQL-PL2SQL-1.20/ $ strace -o strace.log prove -vmb >prove-vbm.log

    The cpanm build.log, plus strace.log and prove-vbm.log can be found in this github gist.

    Hope that helps.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

      OK. There are actually 3 questions. The original question is implicitly answered: "I don't have a clean build".

      The second question would be "Why don't I have a clean build?". That answer seems to be that CPAN caches everything in a perl5 directory that doesn't reflect the build version. Anyways, by deleting ~/perl5, I am able to get the same results you posted on github.

      The $10,000,000 third question, what throws a Attempt to free unreferenced scalar error? My problem seems unrelated to this bug.

      This 2007 post is probably the most promising to pursue. Since I'm posting anyways, does anyone have additional insights? Thanks again!
        I reposted a new thread. Sorry for any violations of protocol!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1023728]
Front-paged by Arunbear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-06-22 02:15 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (120 votes). Check out past polls.