libX11.so.6 未找到

libX11.so.6 未找到

我尝试过make && make install package,但出现错误:

找不到 libX11.so.6

我在哪里可以获得这个库?

答案1

您需要安装 libX11 软件包:

$ rpm -qf /usr/lib/libX11.so.6
libX11-1.3.1-3.fc13.i686

去吧

$ yum -y install libX11  

但还有一件事:如果您不知道如何查找和安装库包,请愿意分享一下为什么您要尝试编译一个在最新版本中为 Fedora 13 官方打包的软件?

$ yum info gpicview
Available Packages
Name        : gpicview
Arch        : x86_64
Version     : 0.2.1
Release     : 3.fc13
Size        : 93 k
Repo        : fedora
Summary     : Simple and fast Image Viewer for X
URL         : http://lxde.sourceforge.net/gpicview/
License     : GPLv2+
Description : Gpicview is an simple and image viewer with a simple and intuitive interface.
            : It's extremely lightweight and fast with low memory usage. This makes it
            : very suitable as default image viewer of desktop system. Although it is
            : developed as the primary image viewer of LXDE, the Lightweight X11 Desktop
            : Environment, it only requires GTK+ and can be used in any desktop environment.

答案2

我打赌更合适的反应是安装 libX11-devel...

相关内容