[poppler] poppler.pc missing Requires.private / Libs.private
Jeroen Ooms
jeroen.ooms at stat.ucla.edu
Wed Mar 2 11:13:22 UTC 2016
The pkgconfig file for poppler does not contain the configured dependencies
required for static linking:
> pkg-config --libs --static poppler-cpp
-L/usr/local/Cellar/poppler/0.41.0/lib -lpoppler-cpp -lpoppler
This is certainly incomplete. Correct output (in my case) would be
something along the lines of:
-L/usr/local/Cellar/poppler/0.41.0/lib
-L/usr/local/Cellar/cairo/1.14.6_1/lib -L/usr/local/Cellar/glib/2.46.2/lib
-L/usr/local/Cellar/libffi/3.0.13/lib -L/usr/local/Cellar/glib/2.46.2/lib
-L/usr/local/opt/gettext/lib -L/usr/local/Cellar/pixman/0.34.0/lib
-L/usr/local/Cellar/fontconfig/2.11.1_2/lib
-L/usr/local/Cellar/freetype/2.6.3/lib
-L/usr/local/Cellar/libpng/1.6.21/lib
-L/usr/local/Cellar/little-cms2/2.7/lib
-L/usr/local/Cellar/openjpeg/1.5.2_1/lib
-L/usr/local/Cellar/libtiff/4.0.6/lib -lpoppler-cpp -lpoppler -lcairo -lz
-lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -Wl,-framework,Carbon
-Wl,-framework,Foundation -lpixman-1 -lfontconfig -lexpat -lfreetype -lz
-lbz2 -lpng16 -lz -lpng16 -lz -llcms2 -lm -lopenjpeg -ltiff -ljpeg -lz
I am not an expert but I think the configure script should record
dependencies in the poppler.pc fields Requires.private or Libs.private.
Libraries such as libcurl or cairo provide good examples.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20160302/d36cae5d/attachment-0001.html>
More information about the poppler
mailing list