in reply to Using Perl XS in 5.26 fails with error loadable library and perl binaries are mismatched

Its simple, you're mixing perls, like ikegami said, you've omitted the part that talks about perl paths (@INC from perl -V and EVERYTHING path/compile related to mystery module you're trying to build)
  • Comment on Re: Using Perl XS in 5.26 fails with error loadable library and perl binaries are mismatched