Welcome to the Monastery | |
PerlMonks |
Re: Extending perl with C dynamic library.by kennethk (Abbot) |
on Aug 16, 2013 at 20:08 UTC ( [id://1049778]=note: print w/replies, xml ) | Need Help?? |
You may consider Inline::C rather than DynaLoader for connecting the two. Inline modules compile your external code and then link it automatically via autogenerated XS.
Barring that, you'll want to review the DynaLoader documentation, specially bootstrap() and @dl_require_symbols, which explain why it's looking for boot_test. #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|