<div dir="ltr"><font color="#000000" face="arial, helvetica, sans-serif">Thanks William,</font><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">What I need is only pdftoppm.</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">I built poppler and get pdftoppm in /usr/local/bin, but it seems like this binary expect poppler-data in <span style="line-height:20px">/usr/local/share/poppler, but I installed poppler-data from rpm and it is locate in </span><span style="line-height:20px">/usr/share/poppler.</span><span style="line-height:20px"> </span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:20px">If I don't want to </span><span style="line-height:20px">create symlink </span><tt style="line-height:20px;border:1px solid rgb(204,204,204);border-radius:2px;padding:1px 3px;background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial">/usr/local/share/poppler -> /usr/share/poppler</tt></font></span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;line-height:20px">, what should I do? Add prefix when config poppler?</span></div><div><br></div><div>Thanks,</div><div><br></div><div>Min </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 8:49 PM, William Bader <span dir="ltr"><<a href="mailto:williambader@hotmail.com" target="_blank">williambader@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-3394098876653690126divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>I think that you will eventually have problems applying CentOS system updates if you replace the poppler package in the CentOS distribution with your package. If you need only a few of the poppler utilities and do not need libpoppler, you might be better
off with a source build using configure <span>--enable-<wbr>static --disable-shared ; make, and then copying the utilities that you need to /usr/local/bin. Regards, William</span></p>
<p><span><br>
</span></p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-3394098876653690126divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> poppler <<a href="mailto:poppler-bounces@lists.freedesktop.org" target="_blank">poppler-bounces@lists.<wbr>freedesktop.org</a>> on behalf of Min Su <<a href="mailto:min.su@veeva.com" target="_blank">min.su@veeva.com</a>><br>
<b>Sent:</b> Thursday, January 19, 2017 8:05 PM<br>
<b>To:</b> <a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<b>Subject:</b> [poppler] Questions about building poppler-utils 0.50.0 rpm for CentOS 7</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Hi all,</font>
<div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
</font></div>
<div>
<div><font color="#000000" face="arial, helvetica, sans-serif">I need to install poppler 0.50.0 on my CentOS Linux release 7.2.1511.</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif">I took the Fedora SRPM, rebuild it on my system and got poppler-0.50.0-1.el7.centos.<wbr>x86_64.rpm and poppler-utils-0.50.0-1.el7.<wbr>centos.x86_64.rpm.</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif">After install these rpms, I got the binary I need and it seems like it works well. But when I check the dependency of this binary, I found it has dynamic references to some libraries in my system,
for example: fontconfig, the fontconfig on system is 2.10 but poppler 0.50.0 requires at least fontconfig 2.12. </font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif">Almost all dynamic dependencies on CentOS is very "old", and I don't want to upgrade all related libraries. What should I do now? Rebuild rpm with static reference? If so, how do I do that? </font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif">Is it risky to have poppler 0.50.0 with all these old references?</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="arial, helvetica, sans-serif">Thanks!</font></div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>