[Mono-dev] Mono GC 2.8.2: embedding

Duane Wandless duane at wandless.net
Thu Feb 17 16:00:59 EST 2011


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/20110217/e7935cfb/attachment-0001.html 


More information about the Mono-devel-list mailing list