<div dir="ltr">The pkgconfig file for poppler does not contain the configured dependencies required for static linking:<div><br></div><div><div>    > pkg-config --libs --static poppler-cpp</div><div>    -L/usr/local/Cellar/poppler/0.41.0/lib -lpoppler-cpp -lpoppler</div></div><div><br></div><div>This is certainly incomplete. Correct output (in my case) would be something along the lines of:</div><div><br></div><div>    -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<br></div><div><br></div><div>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.</div></div>