libX11.so.6 Not found

I tried to make && make install package, but I get an error:

libX11.so.6 not found

Where can I get this library?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

You need to install the libX11 package:

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

Just go

$ yum -y install libX11  

One more thing though: if you don’t know how to find and install a library package, care to share why you are trying to compile a piece of software that is officially packaged for Fedora 13 in the most recent version?

$ 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.

Solution 2

I bet a more appropriate response would be to install libX11-devel…

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply