[Mono-dev] Mono GC 2.8.2: embedding

Duane Wandless duane at wandless.net
Fri Feb 25 16:59:26 EST 2011


I found this reference:
http://go-mono.com/forums/#nabble-td2277117

Which says:
You've configured mono without debugger support (--disable-mono-debugger),
which is currently broken (it should get fixed later today).

I did not compile libmonosgen.... that is the 2.8.2 install.  So is
libmonosgen being incorrectly compiled?

Duane


On Thu, Feb 17, 2011 at 4:00 PM, Duane Wandless <duane at wandless.net> wrote:

> I am trying to embed the sgen libraries (on Snow Leopard) but receiving
> this error at runtime:
>
> *dyld: Symbol not found: _MONO_DEBUGGER__debugger_info*
>
> *  Referenced from:
> /Library/Frameworks/Mono.framework/Versions/2.8.2/lib/libmonosgen-2.0.0.dylib
> *
>
> *  Expected in: dynamic lookup*
>
> Linker flags:
> -pthread -L/Library/Frameworks/Mono.framework/Versions/Current/lib -lmonosgen-2.0 -lpthread -rpath at loader_path
> /../Libraries
>
> # otool -L InitMono.dylib
> InitMono.dylib:
> @loader_path/../Libraries/InitMono.dylib (compatibility version 1.0.0,
> current version 1.0.0)
>  /Library/Frameworks/Mono.framework/Versions/2.8.2/lib/libmonosgen-2.0.0.dylib
> (compatibility version 1.0.0, current version 1.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 111.1.4)
>  /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
> (compatibility version 1.0.0, current version 12.0.0)
> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
> 1.0.0)
>  /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
> 227.0.0)
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 476.19.0)
>  /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
> (compatibility version 300.0.0, current version 677.26.0)
>
>
> Of course changing the -lmonosgen-2.0 to -lmono-2.0 and everything works as
> expected.
>
> Any suggestions on how to fix the symbol not found for embedding the sgen
> library are greatly appreciated.  Or if there is a different means to embed
> please let me know.
>
>
> Thanks,
> Duane
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110225/f0b7fde3/attachment.html 


More information about the Mono-devel-list mailing list