Well, I would imagine that if Perl can do it, so can you. You have the source; I would start looking at Dynaloader since that seems to be the guts behind everything.
in reply to Re: Re: Relocation error with an embedded perl interpreter
in thread Relocation error with an embedded perl interpreter
I admit that I'm not sure how well that would work; you might need to do some dynamic linking tricks to get the address of your function *after* the .so is loaded by Perl.
}"for split/</;$_=$,,y[A-Z a-z]