I try to install (as user=root) ROOT on my system (RedHed 9, gcc 3.2.2) but after typing `./configure’ I get a message that the X11 lib cannot be found whereas I DO have that lib:
I am running the 64 bit version of SL4.4 and initially had what i thought was the same problem as the original post of this thread. I added the suggested softlinks (i have all the necessary libraries to my knowledge). This stopped the crashing i was having when I typed ‘./configure’ however I get this error now when I type ‘make’.
g++ -shared -Wl,-soname,libGX11.so.5.13 -g -Wl,-rpath,/opt/new/lib -o lib/libGX11.so.5.13 x11/src/GX11Gui.o x11/src/Rotated.o x11/src/TGX11.o x11/src/gifdecode.o x11/src/gifencode.o x11/src/gifquantize.o x11/src/G__X11.o -L/usr/X11R6/lib -lXpm -L/usr/X11R6/lib -lXext -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXpm.so when searching for -lXpm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXpm.so when searching for -lXpm
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make: *** [lib/libGX11.so] Error 1
making symbolic links is not the right solution. Make sure you have the xorg-x11-devel package installed which includes, on x86_64, both the 32 and 64 bit versions of libXpm and libX11, etc. On my FC4 AMD64 I’ve this:
I have all of the necessary libraries installed, but your responce did lead me to the correct answer. I had taken a configuratoin script from the lab I work at and the path to thoes libraries was not being properly addressed. It seems that I keep missing the obvious things. Thanks again for your help.