[Mono-winforms-list] System.DllNotFoundException: gdiplus.dll

Bill Medland billmedland@mercuryspeed.com
Wed, 16 Feb 2005 16:47:14 -0800


On February 16, 2005 03:08 pm, Paul wrote:
> Hi,
>
> >You also need to set your $LD_LIBRARY_PATH to include the directory
> >where libgdiplus.so is installed.
>
> I think I actually cover this on my page - basically, whereever you
> install mono to, you should install everything else to. LD_LIBRARY_PATH
> *should* pick things up from /usr/local/lib;/usr/lib.
>
> Given the number of hits I'm getting on my mono area (it is more than
> when I released the fixes for Programming Linux Games), I will address
> these problems.
>
> Bill : What are the mistakes you referred to in your original email on
> this subject?
>
> TTFN
>
> Paul

Paul

Congratulations on a successful web page; please don't take the following as 
criticism; it's just that I'm a pedantic little ... and I think the following 
might make things even easier for lovers of little yellow books.

(1. What browser are you targetting; the main page (mono/mono-compiling.html) 
looks messy in all the browsers I've tried; Firefox on RHEL3 and on Win2K, 
IE6 on Win2k, Konqueror on RHEL3.  The source looks fine but obviously there 
is something there that taxes the browsers)

2. The script is useful but doesn't quite work right first time.
2a. The CVS update on cairo/pixman won't work on the first occasion; it needs 
cvs co if there is no CVS/Entries
2b but should you be getting the cairo/pixman now since they are in 
libgdiplus?
2c. Don't know why the monodevelop didn't work for me; might have been a 
temporary glitch.  Anyway, not relevant.

3. Thanks for not assuming we are going to run this as root.
4. Can I suggest using su -c "make install" (a single command rather than 3 
commands)

5. In line 7 of your step-by-step figure it should be cd ../mono; the cd is 
missing

6. I can't see the stuff about LD_LIBRARY_PATH on this page; I would suggest 
that you add 
su -l -c "ldconfig" after the make install in libgdiplus, (or simply ldconfig 
if you choose not to use su -c for the make install; makes sense here)
Then you could add a little note at the end of the section about when that 
would make sense (if /usr/local/lib or /usr/lib is in /etc/ld.so.conf) and 
when the user should use LD_LIBRARY_PATH.

-- 
Bill Medland
mailto:billmedland@mercuryspeed.com
http://webhome.idirect.com/~kbmed