首页 > 解决方案 > Snap:加载共享库时出错无法打开共享对象文件:没有这样的文件或目录

问题描述

abdullah@abdullah-PC:~$ snap list

Name               Version             Rev   Tracking  Publisher   Notes
bitwarden          1.25.0              42    stable    bitwarden✓  -
core18             20210128            1988  stable    canonical✓  base
gnome-3-34-1804    0+git.3556cb3       66    stable    canonical✓  -
gtk-common-themes  0.1-50-gf7627e4     1514  stable    canonical✓  -
snap-store         3.38.0-59-g494f078  518   stable    canonical✓  -
todoist            0.2.4               4     stable    doist✓      -


abdullah@abdullah-PC:~$ snap run todoist

/snap/todoist/4/todoist: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

我使用 deepin 20.01,当我尝试运行使用sudo snap install <appname>命令安装的应用程序时,会出现此错误。我该如何解决此错误?

注意:也安装了 snap 的应用程序不在我的计算机上。所以它们没有显示在菜单上,我不能从终端(或任何东西)运行它们

谢谢

标签: linuxinstallationterminal

解决方案


推荐阅读