in reply to Re: DBI.c: loadable library and perl binaries are mismatched
in thread DBI.c: loadable library and perl binaries are mismatched

First, thanks for your interest!

On two different platforms:

. . .from the make install process:
===> p5-DBI-1.636 depends on package: perl5>=5.22<5.23 - found

Can this be some sort of compiler version issue?

  • Comment on Re^2: DBI.c: loadable library and perl binaries are mismatched

Replies are listed 'Best First'.
Re^3: DBI.c: loadable library and perl binaries are mismatched
by afoken (Chancellor) on May 17, 2016 at 20:46 UTC
    Can this be some sort of compiler version issue?

    Maybe. Perl and XS modules should be compiled with the same compiler.

    But it also may be just a library search path issue. Perhaps you mixed two perl versions that share at least some directories.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

      Yes, I have read the The Wikipedia article, Perl XS, that states:

      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 did deinstall before reinstalling the FreeBSD "Ports". I expected the same compiler, clang?, to compile and assemble both??? . . .of course, I did not write the makefile.