[Mono-list] libgdiplus build question

Dumple RoboStephen at gmail.com
Thu Dec 16 11:53:31 EST 2010

Aha!  That gets me a couple steps closer.

Unfortunately, my libgdiplus build errors out:
/usr/bin/ld: .libs/image.o: relocation R_X86_64_PC32 against
`gdip_getcodecinfo_gif' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

When I run autogen.sh, it reported that the GIF codec is unsupported, and it
gave a link to a nonexistent SourceForge page
(http://sourceforge.net/projects/libgif).  Presumably that's the related to
the error message involving "gdip_getcodecinfo_gif"...

Is there a short path to a working libgdiplus build?  (I don't need to read
or write gif files, I'll be happy so long as libgdiplus complies).  I tried
a couple of things, with no joy:

- I'm not sure how to "recompile with -fPIC" (I tried adding that as an
extra argument to autoconf or to make).  
- I tracked down a giflib project on sourceforge, and was able to compile
it, but that didn't seem to change things; running autogen.sh for libgdiplus
still reported that the GIF codec was unsupported.
View this message in context: http://mono.1490590.n4.nabble.com/libgdiplus-build-question-tp3091082p3091250.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list