[Mono-dev] was [DeflateStream on OSX], now: embedded mono not finding some mono libs

Robert Jordan robertj at gmx.net
Tue Dec 20 13:48:14 EST 2011


On 20.12.2011 19:46, Jonathan Shore wrote:
>
> I received the exception below when trying to create a gzip deflate stream.   I have since located the libMonoPosixHelper.dylib in the frameworks directory:
>
> 	/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/libMonoPosixHelper.dylib
>
> However, when mono is embedded, it seems to be unable to locate DLLs for dynamic loading.   Is there some environment variable and/or function I need to call on embedded CLR setup?
>
> I am doing the following at startup:

You're missing

	mono_config_parse (NULL);

>
> 	// if debugging, setup
> 	if (debugarg != NULL)
> 	{
> 		mono_jit_parse_options (1,&debugarg);
>     		mono_debug_init (MONO_DEBUG_FORMAT_MONO);
> 	}

Robert





More information about the Mono-devel-list mailing list