On Mon, 2017-01-09 at 22:38 -0600, pjsanfil . wrote:
> I checked the value of LD_LIBRARY_PATH by printing it out at line 36
> of
> shell/evince (script). At this point it was empty. I tried changing
> it to:
> "." and the error message I got stayed the same, which was:
> (lt-evince:20753): EvinceDocument-WARNING **: Error opening directory
> '/usr/local/lib/evince/4/backends': No such file or directory
>
> In my evince build dir. I have the following libraries:
> ~/Projects/evince$ find . -name "*.so"
> ./backend/pdf/.libs/libpdfdocument.so
> ./backend/xps/.libs/libxpsdocument.so
> ./backend/dvi/.libs/libdvidocument.so
> ./backend/ps/.libs/libpsdocument.so
> ./backend/tiff/.libs/libtiffdocument.so
> ./backend/djvu/.libs/libdjvudocument.so
> ./backend/comics/.libs/libcomicsdocument.so
> ./libview/.libs/libevview3.so
> ./libdocument/.libs/libevdocument3.so
> ./browser-plugin/.libs/libevbrowserplugin.so
You can do something like:
$ ./configure --prefix=/home/pjsanfil/evince/install [other-options]
$ make && make install
$ export LD_LIBRARY_PATH=/home/pjsanfil/evince/install/lib64
$ export PATH=/home/pjsanfil/evince/install/bin:$PATH
$ evince
If you want to save those steps, you might want to try jhbuild.
--
Germán Poo-Caamaño
http://calcifer.org/