Searching this Literature and Latte forum for how to debug, I see a few commands that might provide more information, so, to help you help me, I tried what I could to debug further from these threads:
- A Mostly Complete Guide to Installing Scrivener on Linux
- When I run Scrivener in 13.10 I get the following
- Scrivener not working on Ubuntu 13.10
etc.
Based on what is in those threads, this seems to show that my LD_LIBRARY_PATH doesn’t appear to be set:
$ echo $LD_LIBRARY_PATH
==> nothing
Yet, the desired shared object module does seem to exist:
$ sudo updatedb
$ locate libstdc++.so.6
==> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
==> /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18
An “strace” seems to show where Scrivener is looking for these files:
$ sudo strace scrivener >& /tmp/foo
==> … lots of stuff …
==> open("/usr/share/scrivener/bin/…/lib/libstdc++.so.6", … stuff … (No such file or directory) …
==> … lots of similar stuff …
I thought I was being clever by linking the found libstdc with where Scrivener was looking:
$ cd /usr/share/scrivener/lib
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6
But, that just resulted in a different failure of Scrivener:
$ scrivener
==> /usr/share/scrivener/bin/Scrivener: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
So, I removed the link I had created and googled some more, and found this command:
$ ldd /usr/share/scrivener/bin/Scrivener | grep “not found”
==> libstdc++.so.6 => not found
==> libfontconfig.so.1 => not found
==> libfreetype.so.6 => not found
… lots of these types of errors …
Googling some more, I found this command helped some people with similar Ubuntu 13.10 issues:
$ sudo apt-get install libgstreamer-plugins-base0.10-0:i386
But, I still received the same error message as before when I ran scrivener.
I don’t know Linux well enough to marry this information so that Scrivener can find what it needs; so, may I ask for a gentle push in the right direction?