在使用 Ubuntu 18.04 - LTS(Bionic Beaver)上主 Dropbox 页面上的安装工具后,我尝试使用该应用程序的 Dropbox 启动器启动它,但始终无法启动。
然后,我尝试按照 Ubuntu 主页中的说明为 Ubuntu 安装它:https://www.dropbox.com/install-linux。
问题:当我通过终端启动守护进程时,~/.dropbox-dist/dropboxd
出现以下异常:
File "dropbox/sync_engine/nucleus/thin_client/client.pyc", line 28, in <module>
File "dropbox/foundation/metrics/amp/remote_sink.pyc", line 10, in <module>
ImportError: libatomic.so.1: cannot open shared object file: No such file or directory
!! dropbox: fatal python exception:
['Traceback (most recent call last):\n', ' File "dropbox/client/main.pyc", line 7919, in main\n',
' File "dropbox/client/main.pyc", line 7843, in main_startup\n',
' File "dropbox/client/main.pyc", line 942, in __init__\n',
' File "dropbox/sync_engine_boundary/factory.pyc", line 147, in make_default_file_system\n',
' File "dropbox/sync_engine_boundary/factory.pyc", line 99, in __init__\n',
' File "dropbox/sync_engine_boundary/factory.pyc", line 118, in _initialize_classes\n',
' File "dropbox/sync_engine/nucleus/classic_client/sync_engine.pyc", line 276, in <module>\n',
' File "dropbox/sync_engine/nucleus/classic_client/thin_adapter/in_proc.pyc", line 98, in <module>\n',
' File "dropbox/sync_engine/nucleus/classic_client/wrapped_thin_client.pyc", line 26, in <module>\n',
' File "dropbox/sync_engine/nucleus/thin_client/client.pyc", line 28, in <module>\n',
' File "dropbox/foundation/metrics/amp/remote_sink.pyc", line 10, in <module>\n',
'ImportError: libatomic.so.1: cannot open shared object file: No such file or directory\n'] (error 3)
Aborted (core dumped)
我该如何解决这个问题?
答案1
浏览完网页后,我发现需要安装库 libatomic1 才能使其工作。
要安装该库,您必须执行以下命令:
sudo apt install libatomic1
此后,重新执行守护进程,它就可以正常工作:
~/.dropbox-dist/dropboxd
笔记:此库随 Google Chrome 一起安装,因此如果您的系统中安装了该浏览器,那么您就不会看到此问题。