[Mono-list] strange mono initialization problem

Joseph Wenninger kde@jowenn.at
Wed, 14 Aug 2002 23:18:18 +0000


Hi

I tried to call mono_jit_init  from a dlopened plugin. This only works for me, 
if link the application against libmono, libglib-2.0, libgmodule-2.0 and the 
plugin against all those liberaries.

If I only link the plugin library against those libraries, the mono_jit_init 
call just hangs. 

Did anybody else try a similar thing ? Is it mandatory that the application is 
linked against those libs ?

My problem is, I'd like to use the mono runtime from within an plugin, but the 
application must not depend on mono or the glib. 
Is that not possible?
Do I have a linker problem ?
Should it work in theory, but a bug causes those troubles ? (How could I best 
debug that)

Kind regards
Joseph Wenninger