Can't compile root with libXpm.x86_64?

Dear all,

I am trying to compile ROOT for AliEn. First I configure root with these options:

Note that I am using the 64 bits version of libXpm:

# yum list libXpm
Installed Packages
libXpm.x86_64                                              3.5.5-3                                             installed
Available Packages
libXpm.i386                                                3.5.5-3                                              slc-base

When I compile ROOT it fails :

Generating dictionary graf2d/x11/src/G__X11.cxx... core/utils/src/rootcint_tmp -cint -f graf2d/x11/src/G__X11.cxx -c graf2d/x11/inc/TGX11.h graf2d/x11/inc/LinkDef.h bin/rmkdepend -R -fgraf2d/x11/src/G__X11.d -Y -w 1000 -- \ -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -Icint/cint/lib/prec_stl \ -Icint/cint/stl -Icint/cint/inc -- graf2d/x11/src/G__X11.cxx g++ -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I. -Icint/cint/inc -o graf2d/x11/src/G__X11.o -c graf2d/x11/src/G__X11.cxx g++ -shared -Wl,-soname, -m32 -g -o lib/ graf2d/x11/src/GX11Gui.o graf2d/x11/src/Rotated.o graf2d/x11/src/TGX11.o graf2d/x11/src/gifdecode.o graf2d/x11/src/gifencode.o graf2d/x11/src/gifquantize.o graf2d/x11/src/G__X11.o -L/usr/lib64/ -lXpm -lXext -lX11 -lXft /usr/bin/ld: skipping incompatible /usr/lib64// when searching for -lXpm /usr/bin/ld: skipping incompatible /usr/lib64/ when searching for -lXpm /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make: *** [lib/] Error 1 rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

Is it forbidden to use the 64 bits version of libXpm ?


Found the problem:
I have to remove the ‘linux’ on the configure line…

A bad copy paste :slight_smile:

Sorry for the noise