Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl API version v5.18.0 of ... does not match v5.16.0 ...

by kcott (Archbishop)
on Jul 21, 2016 at 10:01 UTC ( [id://1168220]=note: print w/replies, xml ) Need Help??


in reply to Perl API version v5.18.0 of ... does not match v5.16.0 ...

G'day Nightgem,

Welcome to the Monastery.

Firstly, you can search for errors in perldiag. In this case you'll find:

Perl API version %s of %s does not match %s

(F) The XS module in question was compiled against a different incompatible version of Perl than the one that has loaded the XS module.

So, the fix would be to install File::Sync using the same version of Perl that you want to 'use File::Sync'.

I did a couple of tests and there doesn't appear to be anything intrinsically wrong with installing or loading this module.

Using my current perl:

$ perl -v ... (v5.24.0) built for darwin-thread-multi-2level ... $ cpan cpan[1]> install File::Sync ... BRIANSKI/File-Sync-0.11.tar.gz /usr/bin/make install -- OK cpan[2]> q Lockfile removed. $ perl -e 'use File::Sync' $

After changing to the oldest perl version I have (with perlbrew):

$ perl -v ... (v5.14.2) built for darwin-thread-multi-2level ... $ cpan cpan[1]> install File::Sync ... BRIANSKI/File-Sync-0.11.tar.gz /usr/bin/make install -- OK cpan[2]> q Lockfile removed. $ perl -e 'use File::Sync' $

— Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found