I think it's time for this post, https://forums.freebsd.org/threads/56247/#post-319842, to segue to this forum. (Perhaps a difference audience.)
The problem now is not with a
If I try to execute a simple perl script that utilizes the DBI, the following error diagnostic:
The Wikipedia article, Perl XS, https://en.wikipedia.org/wiki/XS_(Perl), states:
I have reproduced this scenario on two different FreeBSD v10.2 platforms: a Pentimum-4, and a Dell 8-core 2950.
What to do?
The problem now is not with a
make install
failure. The two ports compiled to successful completion. The problem now is that a "handshake key" between the perl5.22.2 and the p5-DBI-1.636, is wrong. Why the mismatch?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)
The Wikipedia article, Perl XS, https://en.wikipedia.org/wiki/XS_(Perl), states:
. . .so, I have installed the p5-DBI-1.636 Perl5 Database Interface, required for DBD::* modules port, and as you can read above, it chokes.XS is an interface through which a program written in the Perl programming language can call a C or C++ language subroutine. The letters stand for eXternal Subroutine, or xsub, where external means external to Perl, i.e. written in some other language.
. . .XS modules are not without drawbacks. They are difficult to write and maintain, and they may only be installed if a C compiler and the header files that the Perl interpreter was compiled against are available. Also, new versions of Perl may break binary compatibility; if this happens, all XS modules must be recompiled.
I have reproduced this scenario on two different FreeBSD v10.2 platforms: a Pentimum-4, and a Dell 8-core 2950.
What to do?