[Mono-dev] error when building libgdiplus
"Andrés G. Aragoneses"
knocte at gmail.com
Fri Jul 26 07:25:37 UTC 2013
On 26/07/13 09:13, Kostas Cibulskas wrote:
> 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
> command line
> I see the missing library added in a Makefile, but for some reason it is
> not linked.
> 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.
This is fixed already by this pull request:
You could +1 in the PR to ping the maintainers ;)
More information about the Mono-devel-list