Running Scrivener on Debian 7 Wheezy

Ma
Max
Posts: 41
Joined: Wed Sep 22, 2010 8:20 pm
Platform: Windows

Thu Sep 19, 2013 11:11 am Post

Hi,

I'm having a bit of trouble running Scrivener on Debian 7 Wheezy, AMD 64 bit.

I've installed the program with:

Code: Select all

su -c "dpkg -i --force-architecture scrivener-1.5.3.1-beta.deb"


Given that I need 32 bit architecture to run, I've tried to use the ia32-libs, but those are depracated on Debian 7. You can't install all the packages, and just mess up the package table in the end.

In Debian 7 apparently you have to add this, running as superuser:

Code: Select all

dpkg --add-architecture i386
apt-get update
apt-get install -f


However, when I try to run Scrivener from a terminal, this is what I get:

/usr/share/scrivener/bin/scrivener.sh: 36: exec: /usr/share/scrivener/bin/Scrivener: not found


The files and folders do exist. Anyone have any ideas?

Thanks in advance.

ed
edf
Posts: 99
Joined: Thu Oct 19, 2006 7:45 pm
Platform: Linux
Location: New York, NY

Thu Sep 19, 2013 10:33 pm Post

Apparently you have to install ia-32 libs after the add-architecture:

Code: Select all

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs


You might also want to run this in order to clean up the package system:

Code: Select all

sudo apt-get -f install


See http://unix.stackexchange.com/questions/89964/debian-wheezy-7-1-cant-launch-skype-or-firefox?lq=1

If you still get the "not found" error, run ldd on the binary and see if all of the required libraries are present:

Code: Select all

bash$ ldd /usr/share/scrivener/bin/Scrivener | grep -i 'not found'

Ma
Max
Posts: 41
Joined: Wed Sep 22, 2010 8:20 pm
Platform: Windows

Thu Sep 19, 2013 10:58 pm Post

Thank you for your reply. I did things your way. This is the response I got.

Code: Select all

root@Ragdoll:/home/max# ldd /usr/share/scrivener/bin/Scrivener | grep -i 'not found'
   libgio-2.0.so.0 => not found
   libgstapp-0.10.so.0 => not found
   libgstinterfaces-0.10.so.0 => not found
   libgstpbutils-0.10.so.0 => not found
   libgstvideo-0.10.so.0 => not found
   libgstbase-0.10.so.0 => not found
   libgstreamer-0.10.so.0 => not found
   libgobject-2.0.so.0 => not found
   libgmodule-2.0.so.0 => not found
   libgthread-2.0.so.0 => not found
   libglib-2.0.so.0 => not found
   libgthread-2.0.so.0 => not found
   libglib-2.0.so.0 => not found
   libgthread-2.0.so.0 => not found
   libglib-2.0.so.0 => not found


Maybe I should reinstall Ubuntu and just accept that Amazon get all my data :D

ed
edf
Posts: 99
Joined: Thu Oct 19, 2006 7:45 pm
Platform: Linux
Location: New York, NY

Thu Sep 19, 2013 11:38 pm Post

As far as ubuntu goes, just don't use the default window manager (unity). Use GNOME, KDE, XFCE, Fluxbox, or (my personal favorite) e17. That should keep your data from being sent to Amazon (though I can't say for sure, as I only use command-line utilities to search my system).

As for the missing libraries, it looks like a few packages need to be installed:

Code: Select all

sudo apt-get install libglib2.0-0:i386 libgstreamer0.10-0:i386 libgstreamer-plugins-base0.10-0:i386


The way to find the packages for these libraries is to find the 64-bit versions, then use dpkg -S to find the package that owns the 64-bit file.

For example:

Code: Select all

bash$ find /usr/lib -name 'libgstreamer*'
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0.30.0
bash$ dpkg -S /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
libgstreamer0.10-0: /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0


The 32-bit package will have the same name as the 64-bit package, with ':i386' appended.

Ma
Max
Posts: 41
Joined: Wed Sep 22, 2010 8:20 pm
Platform: Windows

Fri Sep 20, 2013 4:00 am Post

Thank you so much. The installs of those packages did the trick. Guess I won't have to go back to Ubuntu after all. Scrivener is a key program for me, and I'd like it to work. :lol:

I just don't like having big data miners in my computer. It's enough to have to suffer them on Google and elsewhere. I don't want them inside my OS. :)

ed
edf
Posts: 99
Joined: Thu Oct 19, 2006 7:45 pm
Platform: Linux
Location: New York, NY

Fri Sep 20, 2013 4:39 am Post

Now you have the fun task of making multimarkdown and spellchecking work ;)