<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-size: 12pt;">> It's not a direct dependency of poppler</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Thanks for the <span>draw_lib_dependencies command.</span></span></p>
<p><span style="font-size: 12pt;">It shows that libjbig is a dependency of libtiff. </span><a href="https://imgur.com/a/8WYfY" class="OWAAutoLink" id="LPlnk282351" previewremoved="true" style="font-size: 12pt;">https://imgur.com/a/8WYfY</a></p>
<p><br>
</p>
<p>I did normal dynamic builds with no options 'configure;make' in one area and 'cmake .;make' in another area.</p>
<p>ldd shows <span>libjbig as a dependency of the autotools <span>libpoppler.so but not the cmake <span>libpoppler.so</span></span></span></p>
<p><span><span><span>If it only happens to me, it isn't worth looking at, but if it happens to anyone else, it could be a difference between the default options in autotools and cmake.</span></span></span></p>
<p><span><span><span>Since libjbig is a dependency of libtiff and not directly of libpoppler, the difference might be what libpoppler uses in libtiff.</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span>The config.h files set different options.</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span></p>
<div>$ diff <(grep define auto/poppler-0.59.0/config.h | sort) <(grep define cmake/poppler-0.59.0/config.h | sort)</div>
<div>1,3d0</div>
<div>< # define WORDS_BIGENDIAN 1</div>
<div>< # define _DARWIN_USE_64_BIT_INODE 1</div>
<div>< # if defined __BIG_ENDIAN__</div>
<div>21a19</div>
<div>> #define HAVE_LIBZ 1</div>
<div>30d27</div>
<div>< #define HAVE_PTHREAD_PRIO_INHERIT 1</div>
<div>36a34</div>
<div>> #define HAVE_SYS_DIR_H 1</div>
<div>40d37</div>
<div>< #define HAVE_TIFFIO_H 1</div>
<div>43d39</div>
<div>< #define HAVE_ZLIB_H 1</div>
<div>45d40</div>
<div>< #define LT_OBJDIR ".libs/"</div>
<div>56d50</div>
<div>< #define POPPLER_VERSION "0.59.0"</div>
<div>60d53</div>
<div>< #define USE_OPENJPEG1 1</div>
<div>63,64c56,57</div>
<div>< #define WITH_OPENJPEG_IGNORE_PCLR_CMAP_CDEF_FLAG 1</div>
<div>< #if defined AC_APPLE_UNIVERSAL_BUILD</div>
<div>---</div>
<div>> #define snprintf _snprintf</div>
<div>> #if defined(_MSC_VER) && _MSC_VER < 1900</div>
<div>68a62</div>
<div>> /* MS defined snprintf as deprecated but then added it in Visual Studio 2015. */</div>
<br>
</span></span></span>
<p></p>
<p><span><span><span>poppler-config.h is different also.</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span></p>
<div>$ diff <(grep define auto/poppler-0.59.0/poppler/poppler-config.h | sort -u) <(grep define cmake/poppler-0.59.0/poppler/poppler-config.h | sort -u)</div>
<div>4a5</div>
<div>> #define ENABLE_ZLIB 1</div>
<div>9a11</div>
<div>> #define HAVE_SYS_DIR_H 1</div>
</span></span></span>
<p></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Regards, William</span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<div style="color: rgb(0, 0, 0);"></div>
</div>
</body>
</html>