LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   SpiderOak on Slackware 14.0 (http://www.linuxquestions.org/questions/slackware-14/spideroak-on-slackware-14-0-a-4175445943/)

agripp 01-16-2013 08:45 PM

SpiderOak on Slackware 14.0
 
Hi.

I have a new fresh install of Slackware 14.0 (without KDE) and want to install SpiderOak on it. Someone knows how to do it easily?

With Slackware 13.0 I have used the package provided by SpiderOak (32 bits for Slackware 12.0, not available anymore) with multilib. OK.
With Slackware 13.37 I have used the slackbuilds.org's script with little modifications. OK.

Now, the SpiderOak released a new package for Slackware 64 bits. I imagine it should work just fine in Slack 14.0. But when I run it, it does not start.

Code:

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__SpiderOak__.py", line 12, in <module>
  File "ssl.py", line 60, in <module>
ImportError: libkrb5.so.3: cannot open shared object file: No such file or directory

After some search, I think that I have just to install krb5-libs. Is it right? If it is so, I have know idea where to find it and how properly install it... Some help, please?

I can't conceive the SpiderOak releasing a package for Slack that does not work on Slack. As I have a clean and full install of Slack, without only KDE, I think if install KDE could solve the dependence. But I have seen nothing promising in Slack File Tree...

Ultimately, some help please?
(Sorry for my bad English.)

Notes:
1. I don't want to use Dropbox.
2. I have tried to modify the slackbuilds.org's script and it resulted in the same dependence, as expected.

knudfl 01-17-2013 04:27 AM

Welcome to LQ.

libkrb5.so.?
Please use the krb5 SlackBuild http://slackbuilds.org/result/?search=krb5&sv=14.0
> http://slackbuilds.org/repository/14.0/network/krb5/

agripp 01-17-2013 07:53 AM

Quote:

Originally Posted by knudfl (Post 4872004)
Welcome to LQ.

Thanks.

Quote:

Originally Posted by knudfl (Post 4872004)

Oh ya. I forgot to mention... I have tried it too without success.
And I tried it just now again, just to make sure... Worked out.
I have made something really wrong before! :/

Thanks a lot.

catkin 07-01-2013 02:50 AM

On Slackware64 14.0, for SpiderOak 5.0.2 and krb5 1.9.4 from slackbuilds.org, the load library path had to be augmented:
Code:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+LD_LIBRARY_PATH:}/usr/kerberos/lib:$LD_LIBRARY_PATH
AFAIK there is no way to do that in a .desktop file so a wrapper script can be used and the as-installed SpiderOak.desktop's Exec line can be changed to run the wrapper script.

Code:

c@CW8:~$ cat /usr/local/bin/SpiderOak.wrapper.sh
#!/bin/bash

# Name: /usr/local/bin/SpiderOak.wrapper.sh

# Purpose:
#  * Wrapper for SpiderOak; sets the library load path to include kerberos

# Usage:
#  * Run directly from the command line or modify Spideroak.desktop's Exec
#    line to run this script instead of SpiderOak
   
# Versions:
#  * Developed and tested on Slackware64 14.0 with
#    Kerberos from krb5-1.9.4-x86_64-1_SBo from slackbuilds.org
#    SpiderOak-5.0.2-x86_64-1 from https://spideroak.com/opendownload/

# History:
#  Version 0.0 1 Jul 2013 Charles
#  * Creation.

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+LD_LIBRARY_PATH:}/usr/kerberos/lib

exec SpiderOak "$@"
c@CW8:~$ cat ~/.local/share/applications/SpiderOak.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=SpiderOak Backup
Type=Application
Comment=SpiderOak Secure Backup and File Sharing Client
Terminal=false
Categories=Network;Archiving;Utility;
Icon=/usr/share/pixmaps/SpiderOak.png
Exec="/usr/local/bin/SpiderOak.wrapper.sh"
Comment[en_US]=SpiderOak Secure Backup and File Sharing Clien



All times are GMT -5. The time now is 11:44 AM.