Fedora

libX11.so.6 未找到

  • May 22, 2016

我試過了make && make install package,但我得到一個錯誤:

未找到 libX11.so.6

我在哪裡可以得到這個庫?

你需要安裝 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.

引用自:https://unix.stackexchange.com/questions/1162