[Mono-dev] error when building libgdiplus
kostas868 at gmail.com
Fri Jul 26 07:13:17 UTC 2013
When running "make", there is an error in libgdiplus/tests:
libtool: link: gcc -g -O2 -pthread -o .libs/testgdi testgdi.o
../src/.libs/libgdiplus.so -lpthread -lfontconfig -pthread
/usr/bin/ld: testgdi.o: undefined reference to symbol 'g_print'
/usr/bin/ld: note: 'g_print' is defined in DSO
/lib/x86_64-linux-gnu/libglib-2.0.so.0 so try adding it to the linker
I see the missing library added in a Makefile, but for some reason it is
Fix to this is to add -lglib-2.0 and -lX11 to LIBS variable inside Makefile.
I cloned libgdiplus from github yesterday, so the problem is new I guess.
No idea how could I fix it in a commit, so I though I should let you guys
know about this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list