这与这里描述的问题非常相似:
但是我没能成功解决这个问题。 /usr/local/crashplan/log/ui_output.log
我启动 CrashPlanDesktop 命令来运行 crashplan 的 GUI 后,出现以下错误
[01.15.14 15:46:41.556 ERROR main root ] Failed to launch CPDesktop; java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: Can't load library: /tmp/.cpswt/libswt-gtk-4234.so Can't load library: /tmp/.cpswt/libswt-gtk.so no swt-gtk-4234 in java.library.path no swt-gtk in java.library.path /tmp/.cpswt/libswt-gtk-4234.so: /tmp/.cpswt/libswt-gtk-4234.so: failed to map segment from shared object: Operation not permitted
的输出locate swt-gtk
为:
/usr/lib/java/swt-gtk-3.7.2.jar
/usr/lib/jni/libswt-gtk-3740.so
/usr/share/doc/libswt-gtk-3-java
/usr/share/doc/libswt-gtk-3-jni
/usr/share/doc/libswt-gtk-3-java/README.Debian
/usr/share/doc/libswt-gtk-3-java/README.gz
/usr/share/doc/libswt-gtk-3-java/changelog.Debian.gz
/usr/share/doc/libswt-gtk-3-java/copyright
/usr/share/doc/libswt-gtk-3-jni/changelog.Debian.gz
/usr/share/doc/libswt-gtk-3-jni/copyright
/usr/share/java/swt-gtk-3.7.jar
/usr/share/java-config/libswt-gtk-3-java
/usr/share/lintian/overrides/libswt-gtk-3-java
/var/cache/apt/archives/libswt-gtk-3-java_3.7.2-2_amd64.deb
/var/cache/apt/archives/libswt-gtk-3-jni_3.7.2-2_amd64.deb
/var/lib/dpkg/info/libswt-gtk-3-java.list
/var/lib/dpkg/info/libswt-gtk-3-java.md5sums
/var/lib/dpkg/info/libswt-gtk-3-java.postinst
/var/lib/dpkg/info/libswt-gtk-3-java.prerm
/var/lib/dpkg/info/libswt-gtk-3-jni.list
答案1
我遇到了同样的问题并找到了这篇帖子:https://forums.amahi.org/viewtopic.php?f=26&t=4951
根据这个建议,我通过下载 x86和Linux/GTK2 的 x86-64 SWT jar 包来自这里:http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/#SWT
您需要将每个 jar 解压到一个临时位置:unzip foo.jar
进入 crashplan/lib 并将现有的 swt.jar 和 swt-64.jar 文件移到一边,如果这没有帮助,您可以将它们放回去。
将 swt.jar 从 x86 jar 复制到 crashplan/lib 作为 swt.jar
将 swt.jar 从 x86-64 jar 复制到 crashplan/lib 中作为 swt-64.jar
幸运的是,CrashPlanDesktop 可以正常启动。我不知道为什么需要这样做,也不知道它坏了是谁的错,但它确实对我有用!