That typically occurs when the XS portion of a Perl module was compiled
against a different version of perl.  Since you say that you re-installed
everything, then it is possible you are loading a module from a different
location than you think you are.  Try running this command:

perl -le 'for (@INC) { print $_ if -f "$_/DBI.pm" }'

It should list all of the places perl finds a DBI module installed.  If you
have more than one, then that is almost certainly your problem.

On Tue, May 17, 2016 at 3:16 PM Ron Wingfield <ron.wingfi...@archaxis.net>
wrote:

> I am getting no response from this post on the FreeBSD Forums:
> https://forums.freebsd.org/threads/56291/
>
> If I try to execute a simple perl script that utilizes the DBI, the
> following error diagnostic:
>
> |# perl -T create_roster_db.pl
> DBI.c: loadable library and perl binaries are mismatched (got handshake
> key 0x7ac0080, needed 0x7b80080)|
>
> . . .with a fresh install form the FreeBSD Ports, perl5.22.2 and
> p5-DBI-1.636, why this mismatch?
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to