[Mono-devel-list] gdiplus downloaded but still says missing from mono

Doug dougpostman at yahoo.com
Thu Nov 4 11:39:50 EST 2004

Libgdiplus 1.0.2 as downloaded from the mono site does
NOT have an autogen.sh script.  However the README for
libgdiplus just had to do a ./configure
--prefix=YOURPREFIX.  I used /usr/bin for the prefix. 

   NOTE that when I compile the libgdiplus/tests
directory, there is problems.  I get
   Undefined symbols - dlsym, dlopen, dlclose -
../src/libs/libgdiplus.a(gdip_win32.o)  Symobol
belongs to implicit dependency /usr/lib/libdl.so.1
   Thought this problem might be related but wasn't
  I removed all gdiplus.dll files.  Made sure that
/usr/bin/lib was in my path - which is were the
libgdiplus.so is located which is actually a link to
   Seemed funny that 
   Mono-INFO:failed to load AOT module
/usr/local/lib/mono/2.0/mscorlib.dll.so: ld.so.1:
where there is no file called mscorlib.dll.so.

--- Paul <paul at all-the-johnsons.co.uk> wrote:

> Hi,
> When you compiled mono, what exactly did you pass
> into autogen.sh? By
> that, did you type ./autogen.sh --prefix=/usr
> --with-preview or
> something else.
> The following looks odd
> > Mono-INFO: DllImport loading: 'gdiplus.dll'.
> > Mono-INFO: DllImport error loading library
> 'ld.so.1:
> > mono: fatal: /usr/lib/gdiplus.dll: unknown file
> type'.
> Is this gdiplus.dll one which you have compiled or
> one you downloaded
> off the net and placed in there? What is actually
> being looked for (or
> should be getting looked for!) is libgdiplus.so.0
> (or whatever version
> number it has)
> What should be happening is that DllImport looks up
> the first instance of libgdiplus.so. If, when you
> compiled cairo and
> libgdi, you didn't put anything after ./autogen.sh,
> both will have been
> installed in /usr/local/lib.
> You've said before that you had downloaded from the
> web a dll called
> gdiplus and put it in a couple of places. Did you
> get rid of *every*
> copy of it?
> Paul
> -- 
> "Trust me, I know what I'm doing" - Det.
> Sledgehammer

> ATTACHMENT part 2 application/pgp-signature

More information about the Mono-devel-list mailing list