[Mono-dev] [PATCH] libgdiplus from linux-installer does not work

Eric Butler firerabbit at gmail.com
Thu Aug 25 01:31:16 EDT 2005

I found a few problems with the linux mono installer preventing
libgdiplus from working.

The first is that $(INSTALL_PATH)/lib needs to be added to
$LD_LIBRARY_PATH. I attached a completly untested guess of a patch (I
dont have bitrock installed) that should hopefully solve this.. but
someone should probably test it before commiting ;). I really dont
even know why I bothered to attach it =).

The second problem is that a DllImport needs to be added to the
etc/mono/config file:

	<dllmap dll="gdiplus.dll" target="libgdiplus.so"/>

And the final problem is that if libtiff is not installed on the
user's system libgdiplus.so will fail to load (this library is not
installed by default on ubuntu for sure, I dont know about other
distros). This is also a debugging nightmare for people since it
throws a DllNotFoundException rather than something actually useful.
So the question is, how many people actually need TIFF support, and
what was the reason for including it in the installer?

I filed the following bugs:

Thanks a lot,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: librarypath.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050824/86ccf2be/attachment.bin 

More information about the Mono-devel-list mailing list