我从 Ubuntu 软件中心安装了 MySQL Workbench,但点击它时它无法启动。没有显示任何错误。这是怎么回事?
更新:
$ mysql-workbench --log-level=debug3 --verbose
/usr/lib/mysql-workbench/mysql-workbench-bin: error while loading shared libraries: libgnome-keyring.so.0: cannot open shared object file: No such file or directory
$ locate libgnome-keyring.so.0
/usr/lib/i386-linux-gnu/libgnome-keyring.so.0
/usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0
~$ locate libgnome-keyring.so
/usr/lib/i386-linux-gnu/libgnome-keyring.so.0
/usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0
答案1
创建符号链接
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0