Ubuntu下编译提示找不到**库 概述安装 apt-file库查找 概述 当在Ubuntu 下编译代码或者安装软件的时候提示 ** 找不到,诸如包含 *.so 字样的提示(也许不仅仅这样)。 这个时候就通过通过 apt-file 来解决。 安装 apt-file 1) sudo apt-get install apt-file // 安装 2) apt-file update (非必须) 库查找 apt-file search *.so.* apt-get install libglib2.0-0 apt-file list 包名称