[Mono-list] OSX Class libraries

John Duncan jddst19@mac.com
Sat, 8 Feb 2003 14:26:34 -0500


What does the code for this look like? On OS X .dylib == .so.
On Saturday, February 8, 2003, at 11:45 AM, keith davey wrote:

>
>> Most P/Invoke stuff should work, but there are still
>> some failures
>> in the tests, IIRC. The only way to know for sure is
>> to try it out:-)
>> The low-level P/Invoke code is in
>> mono/arch/ppc/tramp.c, so, if you
>> find bugs, the likely culprit code is there.
>>
>> lupus
> I've been testing this and seem to have it a problem.
> OSX has dynlib files, and I assume these are the same
> as
> .so files. However when I run a program which tries to
> load a dynlib I get this:
>
> ** (invoke.exe:507): WARNING **: Failed to load
> library libSystem.dylib (libSystem.dylib):
> libSystem.dylib is not a loadable module
> got wrong token: 0x00000001
>
> ** ERROR **: file loader.c: line 491
> (mono_get_method): assertion failed: (table ==
> MONO_TABLE_MEMBERREF)
> aborting...
> Abort
>
> Anyone know anything about dynLib files? I guess if we
> have a problem I could write a C so, that wraps the
> dynlib file and then call that from mono.
>
> Keith
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list