最近一直在折腾 Ubuntu ,今天就遇到了一个很大的坑:在安装英伟达官方显卡驱动后启动时出现:
ERROR: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol:
FT_Get_Var_Blend_Coordinates
libnvidia-gtk3.so: cannot open shared object file: No such file or
directory
/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol:
FT_Get_Var_Blend_Coordinates
libnvidia-gtk2.so: cannot open shared object file: No such file or
directory
的错误,关键就是这个“libharfbuzz.so.0
”和“FT_Get_Var_Blend_Coordinates
”,安装的深度截图打开时也会出现这个错误,于是就在谷歌上找解决方法。在 GitHub 上找到了很多同样问题的 Issues,有人解答说是 harfbuzz 调用了有问题的 freetype
库。这个 freetype
是一个完全免费(开源)的、高质量的且可移植的字体引擎,而”harfbuzz
“是用于文字塑形的软件开发库,这两者都是很多软件开发中用到的库。问题的根源找到了,那就想办法解决吧。 想看更多?点我点我 “Ubuntu 解决“/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0:undefined symbol:FT_Get_Var_Blend_Coordinates”的问题”