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

Rafael Teixeira monoman at gmail.com
Thu Nov 4 11:48:30 EST 2004


You should have used 

./configure --prefix=/usr

as bin, lib, and other relative subdirectories are created by the
'configure' script inside the prefix you give.


On Thu, 4 Nov 2004 08:39:50 -0800 (PST), Doug <dougpostman at yahoo.com> wrote:
> 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
> sure.
>   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
> libgdiplus.so.0.0.0
>    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
> > LD_CONFIG_PATH for
> > 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?
> >
> > TTFN
> >
> > Paul
> > --
> > "Trust me, I know what I'm doing" - Det.
> > Sledgehammer
> >
> 
> > ATTACHMENT part 2 application/pgp-signature
> name=signature.asc
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
Just the 'crazy' me in a sane world, or would it be the reverse? I dunno...



More information about the Mono-devel-list mailing list