Description of problem: perl scripts which use the Moose module fail with the following error: Perl API version v5.16.0 of Moose does not match v5.18.0 at /usr/lib64/perl5/DynaLoader.pm line 213. Version-Release number of selected component (if applicable): perl-5.18.2-289.fc20.x86_64 perl-Moose-2.1005-1.fc20.x86_64 How reproducible: install perl and perl-Moose packages then add "use Moose;" to the top of any perl script Steps to Reproduce: 1. yum -y install perl perl-Moose 2. add "use Moose;" to a perl script 3. try to run the perl script Actual results: The script will abort with the following complaints: Perl API version v5.16.0 of Moose does not match v5.18.0 at /usr/lib64/perl5/DynaLoader.pm line 213. Compilation failed in require at /usr/local/lib64/perl5/Moose/Exporter.pm line 13. BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose/Exporter.pm line 13. Compilation failed in require at /usr/local/lib64/perl5/Moose.pm line 18. BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose.pm line 18. Expected results: The script should run without error Additional info: Will have to roll back to (now unsupported) Fedora 18 (the last known working configuration)
(In reply to simon.galton from comment #0) > Description of problem: perl scripts which use the Moose module fail with > the following error: > Perl API version v5.16.0 of Moose does not match v5.18.0 at > /usr/lib64/perl5/DynaLoader.pm line 213. > > Version-Release number of selected component (if applicable): > perl-5.18.2-289.fc20.x86_64 > perl-Moose-2.1005-1.fc20.x86_64 > > How reproducible: install perl and perl-Moose packages then add "use Moose;" > to the top of any perl script > I cannot reproduce it: $ rpm -q perl perl-Moose perl-5.18.2-289.fc20.x86_64 perl-Moose-2.1005-1.fc20.x86_64 $ perl -e 'use Moose' $ echo $? 0 > The script will abort with the following complaints: > Perl API version v5.16.0 of Moose does not match v5.18.0 at > /usr/lib64/perl5/DynaLoader.pm line 213. > Compilation failed in require at /usr/local/lib64/perl5/Moose/Exporter.pm > line 13. > BEGIN failed--compilation aborted at > /usr/local/lib64/perl5/Moose/Exporter.pm line 13. > Compilation failed in require at /usr/local/lib64/perl5/Moose.pm line 18. > BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose.pm line 18. > If you read the error message carefully, you will see the Moose.pm is loaded from /usr/local. This not a file delivered by Fedora. That's your own local installation. You have to remove the files or reinstall them from cpan to get rebuild against current perl.
Thanks -- will check on the other systems.
I can confirm that the issue was local to one system -- our bad! Thanks!