[英]MySQL Workbench not opening on ubuntu
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 工作台时,它没有打开,我尝试使用终端打开它显示以下错误:
command:命令:
mysql-workbench
Error:错误:
> 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?有人可以帮助解决这个问题吗?
Thanks in advance.提前致谢。
if running mysql-workbench command gives following warning:如果运行mysql-workbench命令给出以下警告:
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
(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.) (注意:即使有这个警告,我的 Workbench 仍然正常运行。我按照上述步骤只是为了摆脱那个警告。)
Reinstalling workbench and doing --fix-broken install
worked for me.重新安装工作台并执行
--fix-broken install
对我--fix-broken install
。
Details:细节:
sudo apt remove mysql-workbench
sudo apt clean
sudo apt autoremove
sudo apt update && apt upgrade
sudo apt install mysql-workbench
sudo apt --fix-broken install
mysql-workbench
is, /usr/lib/libproj.so exists in your project?, can you look at? 是/usr/lib/libproj.so是否存在于您的项目中?您可以看一下吗?
and after installing some additional libraries, Don't forget to run sudo apt-get install -f 并且在安装了一些其他库之后,不要忘记运行sudo apt-get install -f
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.