GNOME Bugzilla – Bug 307860
libgnomeui build breaks on Solaris with pkg-config >= 0.17.1
Last modified: 2005-07-01 13:07:35 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. Some test programs in libgnomeui/test-gnome require gdk-pixbuf. 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 when linking "test-gnome" Expected results: Should build (; Does this happen every time? yes Other information:
Created attachment 47841 [details] [review] Patch that add the gdk-pixbuf libs to the link line of the test programs
Commited to both branches. Thanks