[Mrtrix-discussion] Unable to build on RedHat 6.x

Luscombe, Stuart s.luscombe at ucl.ac.uk
Mon Jul 28 01:42:25 PDT 2014


Hi,

I am trying to build mrtrix for one of my users who is running Red Hat Enterprise 6.5. It keeps failing with the following error:

[LB] bin/disp_profile
[LB] bin/mrview

ERROR: [LB] bin/disp_profile

g++ -Wl,-rpath,$ORIGIN/../lib -Llib src/icon.o cmd/disp_profile.o src/dwi/renderer.o src/dwi/SH.o src/dwi/render_frame.o -lmrtrix-0_2_12 -lgsl -lgslcblas -Wl,--export-dynamic -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lz -o bin/disp_profile

failed with output:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status

STOP

ERROR: [LB] bin/mrview

g++ -Wl,-rpath,$ORIGIN/../lib -Llib src/mrview/display_area.o src/mrview/mode/normal.o src/mrview/window.o src/mrview/dialog/progress.o src/mrview/sidebar/roi_analysis.o src/mrview/sidebar/roi_analysis/roi_list.o src/mrview/texture.o src/dialog/file.o src/mrview/mode/base.o src/mrview/sidebar/tractography/roi_list.o src/icon.o src/dwi/tractography/mds.o src/mrview/dialog/opengl.o src/mrview/pane.o cmd/mrview.o src/mrview/sidebar/tractography/track_list_item.o src/mrview/sidebar/overlay.o src/mrview/sidebar/orientation_plot.o src/mrview/slice.o src/dwi/renderer.o src/mrview/sidebar/tractography/track_list.o src/mrview/sidebar/screen_capture.o src/dwi/tractography/file.o src/mrview/dialog/error.o src/mrview/sidebar/tractography.o src/mrview/dialog/properties.o src/dwi/render_frame.o src/dwi/SH.o src/mrview/sidebar/main.o src/mrview/image.o -lmrtrix-0_2_12 -lgsl -lgslcblas -Wl,--export-dynamic -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lz -o bin/mrview

failed with output:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status

STOP


All of the mesa-libGL* packages are up to date.

I have also tried building on a machine running an older version of Red Hat, which did get a bit further initially but ultimately came back with the same error. Both machines are running proprietary AMD/Nvidia drivers.

Many Thanks,

--
Stuart Luscombe
Systems Administrator
Dementia Research Centre / NIHR Queen Square Dementia Biomedical Research Unit
8-11 Queen Square
London, WC1N 3BG

E-mail: s.luscombe at ucl.ac.uk<mailto:s.luscombe at ucl.ac.uk>
Phone: 0203 448 3875

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20140728/c4fb2764/attachment.html>


More information about the Mrtrix-discussion mailing list