I think the reason why this cannot work is, that you don't link the shared object, that contains your c symbols (libmyprint.so) into the XS shared object. You could either do that dynamically so that the symbols will be resolved at runtime, like you do with the test program for libmyprint.so, or you can just link it in there statically to make sure it will always work, even if someone moves libmyprint.so or even deletes it.
That's my educated guess. It would help if you could post the build error, though.
Cheers, Flo
In reply to Re: shared-obj linking in xs-module
by rafl
in thread shared-obj linking in xs-module
by warlock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |