GNOME Bugzilla – Bug 309306
zenity build breaks on Solaris with pkg-config >= 0.17.1
Last modified: 2005-07-04 09:00:14 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. Steps to reproduce: 1. On Solaris, install pkgbuild-0.17.2 2. Try building zenity-2.10.0 Actual results: Build fails with unresolved symbols Expected results: Should build :) Does this happen every time? yes Other information:
Created attachment 48515 [details] [review] Patch to configure to add necessary libs
It seems that this is a pkg-config issue on Solaris. According to the pkg-config ChangeLog, new configure options were added to enable/disable indirect deps handling. These option are --enable-indirect-deps and --disable-indirect-deps. I suggest you to first install pkg-config with --enable-indirect-deps option set and see if zenity build works fine on Solaris, ok?
This is indeed correct, pkgbuild 0.18 and 0.18.1 includes the dependent libs again. See http://blogs.gnome.org/view/jamesh/2005/06/21/0 Closing this as not a zenity bug.