Installing SpiderOak client on a headless 64bit Ubuntu server

SpiderOak is a fine example of secure cloud backup done right, I’ve been a happy paying customer for 3 years and run their client on all my computers but when I came to install it on a new headless server however I ran into problems. For the uninitiated, “headless” means there is no screen, I’m connected via a terminal which cannot handle graphics. Normally the SpiderOak client is a graphical application but it will also run from a terminal, which is a bit of a nasty bodge but at least it works!

When I first installed the Debian package using dpkg, then ran the application for the first time I got this error:

ImportError: libkrb5.so.3: cannot open shared object file: No such file or directory

This should be simple enough to resolve installing libkrb.5-3 from the Ubuntu repositories, but it’s not that simple because although SpiderOak supplies both 32bit and 64bit packages, the software in both packages is 32bit, so you need to install the 32bit version of libkrb5-3, like this:

sudo apt-get install libkrb5-3:i386

Once complete you can continue the SpiderOak setup. Be warned though, running the application without the –setup parameter however will error due to other missing libs, but these are only necessary for running the GUI version of the application.

4 Replies to “Installing SpiderOak client on a headless 64bit Ubuntu server”

  1. Unfortunately, apt-get can’t find the package libkrb5-3:i386 on my Ubuntu Server 11.10. Do you know a solution for that?

    1. Argh never mind, I made a typo. Sorry.
      Unfortunately it’s now stuck on the next missing library (libgthread-2.0.so.0).

      1. And apparently, they can all be fixed by installing ia32-libs-gtk (now ia32-libs). A search on google for “libgthread-2.0.so.0 cannot open shared object file no such file or directory” revealed this.

        Please remove all my comments if you plan to put it in the body of the blog.

        1. Only libkrb5 is required for running in command line only mode. The remaining libs are needed only for running with the QT-based GUI but I wasn’t going to do this on my headless server.
          However, I later decied to use the GUI to solve some prolems I was having and used ssh -X to redirect my X session to another computer so I needed the remaining libs. I think the command to install the all of the dependencies was this:

          sudo apt-get remove libsm6:i386 libfreetype6:i386 libxext6:i386 libglib2.0-0:i386 libkrb5-3:i386

          As you say there may be other metapackages that include these but I want to minimise the number of single-use libraries on this box so prefer a more targeted setup.

Leave a Reply

Your email address will not be published. Required fields are marked *