[poppler] Questions about building poppler-utils 0.50.0 rpm for CentOS 7

Min Su min.su at veeva.com
Wed Jan 25 23:15:09 UTC 2017

Thanks William,

What I need is only pdftoppm.
I built poppler and get pdftoppm in /usr/local/bin, but it seems like this
binary expect poppler-data in /usr/local/share/poppler, but I installed
poppler-data from rpm and it is locate in /usr/share/poppler.
If I don't want to create symlink /usr/local/share/poppler ->
/usr/share/poppler, what should I do? Add prefix when config poppler?



On Thu, Jan 19, 2017 at 8:49 PM, William Bader <williambader at hotmail.com>

> 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 --enable-static --disable-shared ; make, and then copying
> the utilities that you need to /usr/local/bin. Regards, William
> ------------------------------
> *From:* poppler <poppler-bounces at lists.freedesktop.org> on behalf of Min
> Su <min.su at veeva.com>
> *Sent:* Thursday, January 19, 2017 8:05 PM
> *To:* poppler at lists.freedesktop.org
> *Subject:* [poppler] Questions about building poppler-utils 0.50.0 rpm
> for CentOS 7
> Hi all,
> I need to install poppler 0.50.0 on my CentOS Linux release 7.2.1511.
> I took the Fedora SRPM, rebuild it on my system and got
> poppler-0.50.0-1.el7.centos.x86_64.rpm and poppler-utils-0.50.0-1.el7.
> centos.x86_64.rpm.
> 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.
> 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?
> Is it risky to have poppler 0.50.0 with all these old references?
> Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20170125/fb59ea26/attachment.html>

More information about the poppler mailing list