Runtime.loadLibrary() on Linux
F i L
witte2008 at gmail.com
Thu May 10 09:25:36 PDT 2012
On Thursday, 10 May 2012 at 11:11:14 UTC, Jacob Carlborg wrote:
> 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.
Ah, thank you. That set me on the right track.
More information about the Digitalmars-d-learn
mailing list