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". ;-)
| [reply] |
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.
| [reply] |