MySQL Workbench 无法在 ubuntu 上打开 [英] MySQL Workbench not opening on ubuntu
问题描述
当我尝试打开我安装的 MySQL 工作台时,它没有打开,我尝试使用终端打开它显示以下错误:
While I am trying to open my installed MySQL workbench it is not opening, I try to open using terminal it shows the below error:
命令:
mysql-workbench
错误:
> Workbench can't find libproj.so, some options may be unavailable.
> /usr/bin/mysql-workbench-bin: error while loading shared libraries: libzip.so.4: cannot open shared object file: No such file
> or directory
我尝试安装损坏的软件包并创建符号链接,但我也无法修复.
I've tried to install broken packages and creating symbolic link but also I am not able to fix.
有人可以帮忙解决这个问题吗?
Can someone help to solve this issue?
提前致谢.
推荐答案
如果运行 mysql-workbench 命令给出以下警告:
if running mysql-workbench command gives following warning:
Workbench can't find libproj.so, some options may be unavailable.
运行这个命令来检查你是否有上面提到的文件:
run this command to check if you have the above mentioned file :
$ find / -name libproj.so 2> /dev/null
如果没有找到,则运行此命令安装缺少的文件依赖以消除警告:
if not found, then run this command to install the lacking file dependency to remove the warning:
$ sudo apt install libproj-dev proj-bin
它将删除警告.为我工作.请在您的系统中尝试.下面是我的命令输出:
It will remove the warning. Worked for me. Please try in your system. Below is my command output:
$ find / -name libproj.so 2> /dev/null
/usr/lib/x86_64-linux-gnu/libproj.so
$ mysql-workbench
Found /lib/x86_64-linux-gnu/libproj.so.15
(注意:即使有这个警告,我的 Workbench 仍然正常运行.我按照上述步骤只是为了摆脱那个警告.)
(Note: even if this warning was there, my Workbench was still running properly. I followed the above mentioned steps just to get rid of that warning.)
这篇关于MySQL Workbench 无法在 ubuntu 上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!