After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318750 - pangocairo should Requires pangoft2?
pangocairo should Requires pangoft2?
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2005-10-13 09:51 UTC by Sebastien Bacher
Modified: 2005-11-23 16:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Sebastien Bacher 2005-10-13 09:51:23 UTC
One Ubuntu user was saying on IRC this morning:
"i keep getting /usr/lib/libpangocairo-1.0.so: undefined reference to
`pango_fc_font_create_metrics_for_context' when I try to compile something
requiring ligpango"

$ nm -D /usr/lib/libpangocairo-1.0.so | grep
pango_fc_font_create_metrics_for_context
         U pango_fc_font_create_metrics_for_context

$ nm -D /usr/lib/libpangoft2-1.0.so | grep pango_fc_font_create_metrics_for_context
00004bfc T pango_fc_font_create_metrics_for_context

shouldn't pangocairo.pc have a Depends on pangoft2?
Comment 1 Behdad Esfahbod 2005-11-23 16:55:47 UTC
pangocairo.pc should depend on pangoft2 only if your system does not support
automatic shlib tracking.  In other words, do ldd /path/to/libpangocairo-1.0.so
and observe that libpangoft2 is in there.

If the system is an ancient one that does not support it though, seems like
there's been a bug in Pango and Gtk+'s configure scripts, making them not detect
it.  I fixed that bug:

2005-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in (enable_explicit_deps): Fix typo when checking
        libtool config deplibs_check_method. Moreover, enable explicit
        deps if we get anything other than pass_all from libtool. (part of
        #318750)


Back to your problem, if "libtool --config | grep deplibs_check_method" outputs
pass_all, then no, explicit dependencies should not be needed and the user is
doing something wrong.  Otherwise, this should fix it.

Reopen if not fixed.