GNOME Bugzilla – Bug 309281
gucharmap build breaks on Solaris with pkg-config >= 0.17.1
Last modified: 2006-01-21 18:57:03 UTC
Please describe the problem: Recent version of pkg-config no longer include all dependent libraries when printing --libs. (See http://www.advogato.org/person/jamesh/diary.html?start=192 for details.) On Solaris, binaries that directly use APIs from library L now need to link to L explicitely, even if they link to another library M that links to L. Fails to build with unresolved references Steps to reproduce: 1. On Solaris, install pkgbuild-0.17.2 2. Try building libgnomeui-2.10.0 Actual results: The build breaks with unresolved symbols Expected results: Built to succeed :) Does this happen every time? Yes Other information:
Created attachment 48504 [details] [review] Patch to add needed libraries
Steps to reproduce should say : 1. On Solaris, install pkgbuild-0.17.2 2. Try building *gucharmap-1.4.3*
The patch is not correct. The Pango part is correct and I'm applied after some tweaking, but adding gdk-x11-2.0 is wrong. That is included as part of the gtk+-2.0 dependency. 2006-01-21 Behdad Esfahbod <behdad@gnome.org> * configure.ac, gucharmap/Makefile.am: Add PANGO_CFLAGS and PANGO_LIBS explicitly. (bug #309281)