• Advertisement

Archived

This topic is now archived and is closed to further replies.

Dynamic libraries

This topic is 6506 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know of any references (preferably online) on how to use dyamic libraries under Linux? I know that Linux shared libraries are not exactly equivalent to Windows libraries, but there should be a way of using a library like a dynamic .dll file. Cheers, => Arfa <=

Share this post


Link to post
Share on other sites
Advertisement
You just need to link your program to the shared library, and it will dynamically load it for you.

If you have a .so of your own, which you won''t know about until later (eg a plugin) well, I can''t help you.

===============
BigDave

Share this post


Link to post
Share on other sites
Yeah, the plugin option was the way I was heading. Cheers anyway, man.


=> Arfa <=

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you want to do plug-ins, check out the man page for dlopen. This will load a dynamic library at run time instead of having to link it at compile time...

Share this post


Link to post
Share on other sites

  • Advertisement