GNOME Bugzilla – Bug 794570
pango.pc missing fribidi dependency
Last modified: 2018-05-22 13:30:46 UTC
Pango does not include the new fribidi dependency in the pango.pc pkg-config --libs-only-l --static pango -lpango-1.0 -lm -lgobject-2.0 -lffi -lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre Therefore static linking fails: dlopen(/Users/travis/build/r-hub/homebrew-cran/_AUTOBREW_BUILD/rsvg/libs/rsvg.so, 6): Symbol not found: _fribidi_get_bidi_type I think the pango.pc file should contain -lfribidi in the Libs.private or Requires.private field if pango was configured with fribidi.
Fixed in master, thanks!
This issue has been incorrectly fixed. bug 795115 As it is static linking fribidi should be listed not in Requires but in Requires.private, and on building the project.
Khaled, please consider whether Requires.private is a better place for fribidi.
I reverted my commit, someone who knows pkg-config better should fix the original issue.
IMO problem generally is a bit deeper. If by source code configuration options some package does not provides static libraries in .pc files lines with Requires.private should be not present/commented.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/301.