I had not tried to restart the x-server yet, but it got me the same result when I tried it just yet.
The console gives me the following error message:
root@qemuarm:/media/mmcblk0p1/Programs/_evince# bin/evince ../2001_compression_overview.djvu
** (evince.bin:2004): WARNING **: /media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so: undefined symbol: g_set_error_literal
** (evince.bin:2004): WARNING **: Cannot load backend 'djvudocument' since file '/media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so' cannot be read.
** (evince.bin:2004): WARNING **: /media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so: undefined symbol: g_set_error_literal
** (evince.bin:2004): WARNING **: Cannot load backend 'djvudocument' since file '/media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so' cannot be read.
And when I checked, the referenced file is there. Readable and executable for the world:
root@qemuarm:/media/mmcblk0p1/Programs/_evince# ls -l /media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so
-rwxr-xr-x 1 root root 54716 Aug 19 10:26 /media/mmcblk0p1/Programs/_evince/lib/evince/backends/libdjvudocument.so
My best guess is that I missed something with the environment variables (LD_LIBRARY_PATH or something like that) but after trying the usual suspects without success I'm a bit at a loss which one it could be.
Alternatively, it could be a linker issues, but given that it does know the right path to the requested file and can find several other dependencies, I have some doubts about this being the cause.
I've put a copy of my current attempt up
here (WARNING: it's >20MB and doesn't work yet!)
For a comic reader I would like cbz and cbr support for containers, jpeg, png and gif for image format. cb7 and cbt would be nice to haves, as would tiff, svg and bmp.
Remembering the last page read would be nice, but not a deal breaker. Image scaling only if it honours the length/width dimensions (i.e. an 100x100 px image scales to 1000x1000 not 900x1100 or somesuch because the screen isn't a square)
Given that evince provides most of that (and some other interesting formats) I thought I would try to get that ported instead of writing my own app. More so because I haven't touched C in many years and didn't think writing a UDS plugin would be as easy as you make it sound like it is