irfancss has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I have complied everything using perl v 5.8.5 archname=i386-linux-thread-multi

But after completion I come to know that my project requirement is of archname=i686-linux so I install archname=i686-linux into the /usr/local directory and start compliling everything again. But getting this error. pls help me out...

When I am trying to install the Pod-Coverage-0.17 through perl v 5.8.5 archname=i686-linux

It gives me error

Checking whether your kit is complete... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Pod-Coverage' version '0.17' t/01compile....../usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/01compile......dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay t/02simple......./usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/02simple.......dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-32 Failed 32/32 tests, 0.00% okay t/03import......./usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/03import.......dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/04cvgv........./usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/04cvgv.........dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay t/05parentage..../usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/05parentage....dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/06trustme....../usr/local/bin/perl: symbol lookup error: /home/denal +i/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.so: u +ndefined symbol: Perl_Gthr_key_ptr t/06trustme......dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/07pod..........ok t/08tie........../usr/local/bin/perl: symbol lookup error: <br>/home/d +enali/SOURCE/Pod-Coverage-0.17/blib/arch/auto/Pod/Coverage/Coverage.s +o: undefined symbol: Perl_Gthr_key_ptr t/08tie..........dubious Test returned status 127 (wstat 32512, 0x7f00) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/01compile.t 127 32512 4 8 200.00% 1-4 t/02simple.t 127 32512 32 64 200.00% 1-32 t/03import.t 127 32512 3 6 200.00% 1-3 t/04cvgv.t 127 32512 4 8 200.00% 1-4 t/05parentage.t 127 32512 5 10 200.00% 1-5 t/06trustme.t 127 32512 10 20 200.00% 1-10 t/08tie.t 127 32512 4 8 200.00% 1-4 Failed 7/8 test scripts, 12.50% okay. 62/67 subtests failed, 7.46% oka +y.

Edit: g0n - added code tags

Edit: g0n - added readmore tags

  • Comment on Pod-Coverage-0.17 + i686-linux + ErrorCoverage.so: undefined symbol: Perl_Gthr_key_ptr
  • Download Code

Replies are listed 'Best First'.
Re: Pod-Coverage-0.17 + i686-linux + ErrorCoverage.so: undefined symbol: Perl_Gthr_key_ptr
by grinder (Bishop) on Oct 17, 2005 at 08:05 UTC

    Sounds like you've got two perls on your system, one threaded, and one unthreaded. And at some point in your execution, the code is pulling in a library that was compiled for the other perl.

    Have a look at /usr/bin/perl -V compared to /usr/local/bin/perl -V and see if they are different. Does your Build.PL script start with #! /usr/bin/perl?

    • another intruder with the mooring in the heart of the Perl

      Well I checked that and found they are dirffrent one. But then also its the same problem coming up also the I am using /usr/local/perl for my compilation.
        Try starting from a fresh set of sources for the module, and make sure when building it that /usr/local/bin appears in the PATH environment variable before /usr/bin, so that /usr/local/bin/perl is seen first (assuming that /usr/local/bin/perl is the desired Perl you want to compile the module with).