Subject: | perlbrew install requires -Dusethreads |
Compiling perl-5.12.3 without any options resulted in undefined symbol
errors (e.g. in Raw::Zlib when running cpan), until I compiled it with
perlbew install perl-5.12.3 -Dusethreads
It seems that perlbrew assumes threads in some places, but not in
others, leading to an inconsistency which breaks Perl (maybe just
5.12?). Maybe perlbrew needs to -Dusethreads by default in some cases?
Error:
perl: symbol lookup error: /usr/local/perl/Ubuntu-10.10-
x86_64/lib/perl5/x86_64-linux-gnu-thread-
multi/auto/Compress/Raw/Zlib/Zlib.so: undefined symbol:
Perl_Gthr_key_ptr
zlib-dev is installed (1:1.2.3.4.dfsg-3ubuntu1)
pmvers App::perlbrew
0.15
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
uname -a
Linux 2.6.35-25-generic #44-Ubuntu SMP x86_64 GNU/Linux