loadable library and perl binaries mismatch on a custom xs after upgrading to 5.26

1.3k views Asked by At

I have an application which has C++ and perl modules. I have a custom xs module crypt.xs (not a module provided with perl) Previously our perl module was built with 5.16.0 perl version.

I have another C# application which executes some perl command through System.Diagnostics.Process.

All these were working fine until i upgraded the perl version to 5.26.2

After upgrading, the same System.Diagnostics.Process throes a standard error

"crypt.c: loadable library and perl binaries are mismatched (got handshake key 0000000011800080, needed 0000000011C00080)"

I googled and found many threads for the same issue but everywhere the problem is with a standard perl module and rebuilding using cpan or pacman solves the issue.

But here its a custom user defined xs module.

Moreover i use cmake to find perl libs and i have updated the version it. So dont know why this error occurs still.

How would i go about it to debug?

Any help is appreciated

0

There are 0 answers