I got these errors when I attempted to compile VTK in 64 bits Linux RedHat with CMAKE.<br><br><br style="font-style: italic;"><span style="font-style: italic;">Linking CXX shared library ../../bin/libvtkftgl.so</span><br style="font-style: italic;">
<span style="font-style: italic;">/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libGL.so when searching for -lGL</span><br style="font-style: italic;"><span style="font-style: italic;">
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL</span><br style="font-style: italic;"><span style="font-style: italic;">/usr/bin/ld: cannot find -lGL</span><br style="font-style: italic;"><span style="font-style: italic;">
collect2: ld returned 1 exit status</span><br style="font-style: italic;"><span style="font-style: italic;">gmake[2]: *** [bin/libvtkftgl.so.5.0.3] Error 1</span><br style="font-style: italic;"><span style="font-style: italic;">
gmake[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2</span><br style="font-style: italic;"><span style="font-style: italic;">gmake: *** [all] Error 2</span><br><br>Does anyone know how to fix this problem? Thank You.
<br><br><br>-X.G. <br>