Dynamic libraries
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 <=
=> Arfa <=
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
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
===============BigDave
Yeah, the plugin option was the way I was heading. Cheers anyway, man.
=> Arfa <=
=> Arfa <=
=> Arfa <=
April 27, 2000 12:49 AM
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...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement