[pkg-GD-devel] Bug#783178: gdlib-config --libs reports wrong library list

Jan Engelhardt jengelh at inai.de
Thu Apr 23 12:38:27 UTC 2015

Package: libgd2-xpm-dev
Version: 2.0.36~rc1~dfsg-6.1

Running `gdlib-config --libs` outputs:

	-lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm

On Debian, this list is lacking -lgd itself, which means third-party 
software that uses this command to link to GD fails to link.
On openSUSE, their gd 2.0.36-rc1 package yields -lgd (and no -lXpm, 
-lX11, etc.).

More information about the pkg-GD-devel mailing list