[Mono-osx] Still trouble with 1.1.16
Niels Berglund
nielsb at develop.com
Mon Aug 21 14:41:42 EDT 2006
Well, the problem is the DllNotFoundException for gdiplus.dll/libdgiplus.
Below follows an excerpt from an earlier thread about this.
>
> 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:
> Hi,
>
> The 1.1.16.1 installer for mac x86 did not have the same problems as the
> ppc installer had. The x86 installer should work fine.
>
> Please post the details if you find otherwise,
>
> Wade
>
> On Sat, 2006-08-19 at 07:21 +0100, Niels Berglund wrote:
>> Wade Berrier wrote:
>>> The 1.1.16.1 ppc installer has been fixed so that libgdiplus now works.
>> I assume from the above that this fix is Power PC only? Any news/
>> indications when WinForms on Intel based osx will work?
>>
>> Niels
>>
More information about the Mono-osx
mailing list