我正在尝试安装 gtk-pixbuf 2.61.1
但它说它缺少来自 gnome site 的 TIFF 库
它说到
Before installing these libraries from source, you should check if your operating system vendor has prebuilt packages of these libraries that you don't have installed
我是 Ubuntu
的新手,在从源代码安装它们之前,我不确定如何检查这些预构建包是否存在。
您可以使用apt-cache search
来查找您需要的库。
在我的系统上,我有 Debian,差异很小,例如
$ apt-cache search libtiff dev
libtiff5-alt-dev - Tag Image File Format library (TIFF), alternative development files
libtiff5-dev - Tag Image File Format library (TIFF), development files
libtiff4-dev - Tag Image File Format (TIFF) library (old version), development files
找到您的库后,您需要安装它:
$ apt-get install libtiff5-dev