Issue running GNOME Document Viewer 3.18.2 (Evince) from non-installation location (Linux)
1. Issue Description
Attempting to run evince from a non-installation location with LD_LIBRARY_PATH
set to the relocated location terminates with fatal error:
EvinceDocument-WARNING **: Error opening directory
'/usr/lib/x86_64-linux-gnu/evince/4/backends': No such file or directory
2. Configuration
Evince: (3.18.2-1ubuntu4.6 and others) Package: evince_3.18.2-1ubuntu4.6_amd64.deb Repository: packages.ubuntu.com OS: HP ThinPro 7.1. build 18 (T7X71018) x86_64 (OEM'd packaging of Ubuntu 16.04 LTS)
2.1 Notes
-
The OS is the latest supported version from HP for their ThinClients. Last updated Easter this year. Version of Evince being used is constrained by that.
-
Additional packages have to be located on file share or USB sticks in the thin clients as installing to internal flash would invalidate support.
-
USB stick root is
/media/GenericFlash_sdb1
.
4. Run Command & Error Message
$ LD_LIBRARY_PATH=/media/GenericFlash_sdb1/usr/lib/x86_64-linux-gnu/evince/4/backends:\
/media/GenericFlash_sdb1/usr/lib/x86_64-linux-gnu
/media/GenericFlash_sdb1/usr/bin/evince foo.pdf
** (evince:23444): WARNING **: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.Spawn.ExecFailed:
Failed to execute program org.a11y.Bus: No such file or directory
(evince:23444): EvinceDocument-WARNING **:
Error opening directory '/usr/lib/x86_64-linux-gnu/evince/4/backends':
No such file or directory
As the location /usr/lib/x86_64-linux-gnu/evince/4/backends
refers to a location in the flash root that doesn't exist, the message is correct that it does not contain the backends. However, as the location where the backends can be found was provided in the additional LD_LIBRARY_PATH
on the command-line, throwing an error implying that the backends can't be found is at least misleading and at worst, wrong.
5. Attempted Diagnosis
An LD_DEBUG=libs
trace (attached) reveals a fatal error that isn't apparent above:
/media/GenericFlash_sdb1/usr/bin/evince: error: symbol lookup error:
undefined symbol: gtk_progress_get_type (fatal)
The error appears to suggest that the program aborts because libgtk-3.so.0
(Gtk3) makes reference to gtk_progress_get_type
that in Gtk2 is deprecated and that is absent from Gtk3. Evince is linked to Gtk3 (libgtk-3.so.0
seen in stringing it), and the libraries being referenced are Gtk3 libraries.
It is not clear what is significant here: The backends warning or the otherwise hidden fatal undefined symbol error.
6. Desired Response
Assistance with running the latest version available for the latest supported OS from HP in a supported way, i.e. installing it off the root flash.
Thank you in advance.evince.log