[Poppler-bugs] [Bug 101945] New: Set RUNPATH for poppler shared libs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 27 09:58:00 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101945
Bug ID: 101945
Summary: Set RUNPATH for poppler shared libs
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: faure at kde.org
Created attachment 133067
--> https://bugs.freedesktop.org/attachment.cgi?id=133067&action=edit
patch
In order to try running apps uninstalled, I unset LD_LIBRARY_PATH in my setup
(which would other pick up installed stuff).
For most apps/libs it works, because the RUNPATH points to my lib install dir.
One issue with that is poppler. It doesn't have a RPATH or RUNPATH set,
so a QtCore-only program (like kfilemetadata's popplerextractortest) linking
to my self-built QtCore and to libpoppler-qt5.so would end up grabbing
QtGui from /usr/lib instead of my self-built QtGui => incompatible Qt
versions, the program can't run.
This is a one-liner fix with cmake.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170727/c1fdf985/attachment.html>
More information about the Poppler-bugs
mailing list