Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Using a .SO library with Inline
- Bernard Cosell
January 28, 2005, 5:55 pm
rate this thread
it is linking against a .a library [from a commercial package we
bought]. The folks that make the package imply that they may not keep
building the .a and only provide a .SO version of their library.
Is there a way to get Inline to give you access to a .SO library [it
works great to access .a, but about everything I've tried this AM
didn't work for working against the .SO version]. Thanks!
This on some 5.6 with some RedHat Linux...
Re: Using a .SO library with Inline
If so, then you'll be able to do the same in an Inline C script - if
not, then you won't :-)
There's also a cpan module (called C::DynaLib, from memory) that
enables you to directly access .so functions - but I doubt that it's as
easy to use as Inline C.