[vtkusers] amd64 compilation error with cvs

Leila baghdadi baghdadi at sickkids.ca
Fri Jul 8 14:51:16 EDT 2005


Gavin,

This is a common problem with AMD Opteron,

you need to make sure that you link against


/usr/X11R6/lib64
and not 

/usr/X11R6/lib
which actually contains the 32-bit libraries

that also applies to /usr/lib64 versus /usr/lib

there is a few documentation about the difference between 64 and 32 bit
linux, if you are interested let me know and I will send you a link,


HTH

Leila

On Fri, 2005-07-08 at 14:39, Gavin W. Burris aka 86 wrote:
> I get the following error compiling cvs vtk on redhat enterprise ws 4
> 64 bit:
> 
> Linking CXX shared library bin/libvtkRendering.so
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXt.so when searching for -lXt
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXt.a when searching for -lXt
> /usr/bin/ld: cannot find -lXt
> collect2: ld returned 1 exit status
> make[2]: *** [bin/libvtkRendering.so] Error 1
> make[1]: *** [Rendering/vtkRendering.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> Does anyone have a recommendation.
> 
> Cheers,




More information about the vtkusers mailing list