in reply to shared-obj linking in xs-module
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: shared-obj linking in xs-module
by warlock (Initiate) on Mar 16, 2006 at 13:53 UTC | |
by rafl (Friar) on Mar 16, 2006 at 14:02 UTC | |
by warlock (Initiate) on Mar 16, 2006 at 14:19 UTC | |
by rafl (Friar) on Mar 16, 2006 at 14:32 UTC | |
by warlock (Initiate) on Mar 16, 2006 at 14:52 UTC | |
|