ubuntu18.04: 計算器打開失敗問題分析即解決(error while loading shared libraries: libgtk-3.so.0)

ubuntu18.04: 計算器打開失敗問題分析即解決(error while loading shared libraries: libgtk-3.so.0)

 

$ gnome-calculator 
/snap/gnome-calculator/544/usr/bin/gnome-calculator: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

 

用 ldd /snap/gnome-calculator/544/usr/bin/gnome-calculator 命令發現一個not found so庫

$ ldd /snap/gnome-calculator/544/usr/bin/gnome-calculator | grep "not found"
	libgtksourceview-4.so.0 => not found

 

解決辦法:

卸載再重新安裝:

sudo apt remove gnome-calculator
sudo apt install gnome-calculator

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章