Configure: libX11 (package libX11-devel) MUST be installed

Dear root experts,

I am trying to install root_v5.20.00 on machine of following configuration:
[root@gainesville ~]# uname -a
Linux 2.6.9-55.EL.cernsmp #1 SMP Thu May 10 18:09:56 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately, when I run ./configuration script then root complaints that there is no libX11:
[user@gainesville ~]# ./configuration
Checking for libX11 … no
configure: libX11 (package libX11-devel) MUST be installed

Also, if I comment corresponding line in configuration script it complaints further for other missing libraries: libxft-devel, libXpm.

But, looks like that libraries are really present on the machine:
[root@gainesville ~]# ls -l /usr/X11R6/lib*/libX11*
lrwxrwxrwx 1 root root 13 Apr 8 08:07 /usr/X11R6/lib64/ ->
-rwxr-xr-x 1 root root 1020632 Sep 13 2006 /usr/X11R6/lib64/
-rw-r–r-- 1 root root 1490968 Sep 13 2006 /usr/X11R6/lib/libX11.a
lrwxrwxrwx 1 root root 13 Apr 8 08:07 /usr/X11R6/lib/ ->
lrwxrwxrwx 1 root root 13 Apr 8 08:07 /usr/X11R6/lib/ ->
-rwxr-xr-x 1 root root 913020 Sep 13 2006 /usr/X11R6/lib/

I search this forum, but there is no reported problem like this. If you can help me that would be great.


You really must install the package named libX11-devel
The exact way to install it depends on your linux distribution (“yum install libX11-devel” might work).


the configure script is only able to locate these kinds of libraries in /usr/lib
In some linux distribution, like the new mandriva 2009, some of the libraries are installed in /usr/lib64 (like libXpm, libXft).
And configure failed to locate these libraries.
For the libX11 library, is there any file or can you find something like ?
if you find a in the /usr/lib directory, go in /usr/lib and as a root user, do a ln -s