[Mono-osx] Still trouble with 1.1.16

Niels Berglund nielsb at develop.com
Fri Jul 21 05:12:40 EDT 2006


Thanks for the info. Un-installation worked just fine.

However, the same problem with libdgiplus exists. Below follows the 
relevant part when trying to run the WinForms app with MONO_LOG_LEVEL=debug.

This is a Tiger 10.4.7 with Mono 1.1.16.1_1. I have not installed any 
other packages than what is being installed by default by the Mono 
installer. When looking in 
/Library/Frameworks/Mono.framework/Versions/1.1.16.1/lib folder I can 
see various libdgiplus files.

<<<<<<<<<<<<<<<<
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading: 'gdiplus'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.so, 9): image 
not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(libgdiplus.dll, 9): 
image not found'.

(wf4.exe:730): Mono-WARNING **: DllImport unable to load library 
'dlopen(libgdiplus.dll, 9): image not found'.
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading: 'gdiplus'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.so, 9): image 
not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(libgdiplus.dll, 9): 
image not found'.

(wf4.exe:730): Mono-WARNING **: DllImport unable to load library 
'dlopen(libgdiplus.dll, 9): image not found'.
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading: 'gdiplus'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.so, 9): image 
not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(libgdiplus.dll, 9): 
image not found'.

(wf4.exe:730): Mono-WARNING **: DllImport unable to load library 
'dlopen(libgdiplus.dll, 9): image not found'.
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading: 'gdiplus'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.so, 9): image 
not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(libgdiplus.dll, 9): 
image not found'.

(wf4.exe:730): Mono-WARNING **: DllImport unable to load library 
'dlopen(libgdiplus.dll, 9): image not found'.
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.so, 9): 
image not found'.
Mono-INFO: DllImport loading: 'gdiplus'.
Mono-INFO: DllImport error loading library 'dlopen(gdiplus.so, 9): image 
not found'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll, 9): 
image not found'.
Mono-INFO: DllImport loading: 'libgdiplus.dll'.
Mono-INFO: DllImport error loading library 'dlopen(libgdiplus.dll, 9): 
image not found'.

(wf4.exe:730): Mono-WARNING **: DllImport unable to load library 
'dlopen(libgdiplus.dll, 9): image not found'.
Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libgdiplus.dll.so, 
9): image not found'.
Mono-INFO: DllImport loading: 'gdiplus.dll'.

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for System.Windows.Forms.Form ---> 
System.Reflection.TargetInvocationException: Exception has been thrown 
by the target of an invocation. ---> System.TypeInitializationException: 
An exception was thrown by the type initializer for 
System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup 
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
   at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner 
exception stack trace ---
 >>>>>>>>>>>>>>>


Thanks!

Niels

Wade Berrier wrote:
> There's an uninstall script in the dmg image... run that as root.  I
> should probably at least include that script in the install, but then it
> would delete itself.
> 
> It would be nice, (as proposed on the list) to have another uninstaller
> installer to remove Mono...
> 
> Wade
> 
> On Fri, 2006-07-21 at 09:32 +0100, Niels Berglund wrote:
>> So, I have the same problems as Ken and seeing your post I decided to 
>> install the _1 version.
>>
>> However, as I am a complete Mono/OSX newbie (coming from Windows/.NET) 
>> my first question is; how do I un-install Mono (I assume I have to 
>> un-install the 1.1.16.1_0 version before I can install the _1 version)?
>>
>> Thanks!
>>
>> Niels
>>
>> Wade Berrier wrote:
>>> Have you tried 1.1.16.1_1?  Please do so if you haven't.
>>>
>>> Also, can you try setting the environment variable MONO_LOG_LEVEL=debug
>>> before running your program?
>>>


More information about the Mono-osx mailing list