<p dir="ltr">Hi Stuart,</p>
<p dir="ltr">Looks like the version of the GLU (GL utilities) library you have installed on that system isn't the right one for your architecture - maybe you're trying to build a 64-bit version of MRtrix, but you only have the 32-bit version of libGLU installed? Can you have a look through your list of installed packages and make sure you have the necessary version of libglu installed?</p>
<p dir="ltr">Cheers,<br>
Donald</p>
<p dir="ltr">--<br>
Dr J-Donald Tournier (PhD)</p>
<p dir="ltr">Senior Lecturer, Biomedical Engineering<br>
Division of Imaging Sciences & Biomedical Engineering<br>
King's College London</p>
<p dir="ltr">A: Department of Perinatal Imaging & Health, 1st Floor South Wing, St Thomas' Hospital, London. SE1 7EH<br>
T: +44 (0)20 7188 7118 ext 53613<br>
W: <a href="http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering">http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering</a><br>
</p>
<div class="gmail_quote">On 28 Jul 2014 11:42, "Luscombe, Stuart" <<a href="mailto:s.luscombe@ucl.ac.uk">s.luscombe@ucl.ac.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-GB">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">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:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">[LB] bin/disp_profile<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">[LB] bin/mrview<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR: [LB] bin/disp_profile<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">failed with output:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libGLU.so when searching for -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: cannot find -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">collect2: ld returned 1 exit status<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">STOP<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR: [LB] bin/mrview<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">failed with output:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libGLU.so when searching for -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: cannot find -lGLU<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">collect2: ld returned 1 exit status<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">STOP<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">All of the mesa-libGL* packages are up to date.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Many Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">--<br>
Stuart Luscombe<br>
Systems Administrator<br>
Dementia Research Centre / NIHR Queen Square Dementia Biomedical Research Unit<br>
8-11 Queen Square<br>
London, WC1N 3BG<br>
<br>
E-mail: <a href="mailto:s.luscombe@ucl.ac.uk" target="_blank"><span style="color:blue">s.luscombe@ucl.ac.uk</span></a><br>
Phone: 0203 448 3875<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div>