Runtime.loadLibrary() on Linux
Jacob Carlborg
doob at me.com
Thu May 10 04:11:14 PDT 2012
On 2012-05-10 09:09, F i L wrote:
> Is it possible?
>
> I get a message "rt_loadLibrary() not supported on Posix" when I try. Is
> there something I'm doing wrong or is loading shared libraries not
> supported at all on Linux systems?
>
> thanks.
No, not using "rt_loadLibrary". You can still use the good old C
function "dlopen". I think "rt_loadLibrary" does some extra stuff that
the corresponding Windows function for "dlopen" doesn't do for shared D
libraries.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list