<div dir="ltr">Hi Stuart,<br><div class="gmail_extra"><br></div><div class="gmail_extra">OK, it looks like you have the required packages installed. Can you provide the listing of the files included in these packages, so we can see where the library needed is actually located? Can you also check what the /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libGLU.so file actually is? Obviously it's actually in /usr/lib/libGLU.so, but I reckon it would be a symbolic link to something else, it would be a good idea to check what that would be. On my system, this is what I have:</div>
<div class="gmail_extra"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace">$ ls -l /usr/lib/libGLU*<br>
</font><font face="courier new, monospace">lrwxrwxrwx 1 root root 15 Jun 30 05:58 /usr/lib/libGLU.so -> libGLU.so.1.3.1<br></font><font face="courier new, monospace">lrwxrwxrwx 1 root root 15 Jun 30 05:58 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1<br>
</font><font face="courier new, monospace">-rwxr-xr-x 1 root root 515K Jun 30 05:58 /usr/lib/libGLU.so.1.3.1</font></blockquote><div class="gmail_extra"><div><br></div></div><div class="gmail_extra">You might find you also need to have the libGLU.so.1 symlink in place for this to work - sometimes the package maintainers do not include these. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">As to the MRtrix3 issue with g++ not being found, I find that surprising. Is /usr/bin in your PATH? What does 'g++ --version' report? Is there any useful information in configure.log?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra">Donald.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 July 2014 11:59, Luscombe, Stuart <span dir="ltr"><<a href="mailto:s.luscombe@ucl.ac.uk" target="_blank">s.luscombe@ucl.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Donald,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks for your response.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">These are the libGLU packages installed:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">mesa-libGLU.i686 9.2-0.5.el6_5.2 @rhel-x86_64-workstation-6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">mesa-libGLU.x86_64 9.2-0.5.el6_5.2 @rhel-x86_64-workstation-6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">mesa-libGLU-devel.i686 9.2-0.5.el6_5.2 @rhel-x86_64-workstation-6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">mesa-libGLU-devel.x86_64 9.2-0.5.el6_5.2 @rhel-x86_64-workstation-6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I believe both architectures are required for compatibility reasons.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I was pointed to try and build mrtrix3 by the person who’s machine this is, but when trying to build that I get the message that g++ cannot be found, even though
it is installed and located in /usr/bin. <u></u><u></u></span></p><div class="">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Many Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;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">s.luscombe@ucl.ac.uk</a><br>
Phone: 0203 448 3875<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> J-Donald Tournier [mailto:<a href="mailto:jdtournier@gmail.com" target="_blank">jdtournier@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, July 29, 2014 11:10 AM<br>
<b>To:</b> Luscombe, Stuart<br>
<b>Cc:</b> mrtrix mailinglist<br>
<b>Subject:</b> Re: [Mrtrix-discussion] Unable to build on RedHat 6.x<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p>Hi Stuart,<u></u><u></u></p>
<p>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?<u></u><u></u></p>
<p>Cheers,<br>
Donald<u></u><u></u></p>
<p>--<br>
Dr J-Donald Tournier (PhD)<u></u><u></u></p>
<p>Senior Lecturer, Biomedical Engineering<br>
Division of Imaging Sciences & Biomedical Engineering<br>
King's College London<u></u><u></u></p>
<p>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" target="_blank">http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering</a><br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">On 28 Jul 2014 11:42, "Luscombe, Stuart" <<a href="mailto:s.luscombe@ucl.ac.uk" target="_blank">s.luscombe@ucl.ac.uk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Hi,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">[LB] bin/disp_profile</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">[LB] bin/mrview</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR: [LB] bin/disp_profile</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">failed with output:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: cannot find -lGLU</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">collect2: ld returned 1 exit status</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">STOP</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR: [LB] bin/mrview</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">failed with output:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">/usr/bin/ld: cannot find -lGLU</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">collect2: ld returned 1 exit status</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">STOP</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">All of the mesa-libGL* packages are up to date.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></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.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB">Many Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;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">s.luscombe@ucl.ac.uk</a><br>
Phone: 0203 448 3875</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org" target="_blank">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><u></u><u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><b><font color="#990000">Dr J-Donald Tournier (PhD)</font></b><br><div><font color="#990000"><br></font></div><i><font color="#990000">Senior Lecturer, </font></i><i><font color="#990000">Biomedical Engineering</font></i><div>
<i><font color="#990000">Division of Imaging Sciences & Biomedical Engineering<br>King's College London</font></i><div><i><font color="#990000"><br></font></i></div><div><i><font color="#990000"><b style="font-family:Calibri,sans-serif;font-size:15px"><span style="font-size:10pt">A:</span></b><span style="font-family:Calibri,sans-serif;font-size:10pt"> Department of Perinatal Imaging & Health, 1<sup>st</sup> Floor South Wing, St Thomas' Hospital, London. SE1 7EH</span><br>
</font></i></div><div><i><font color="#990000"><b>T:</b> +44 (0)20 7188 7118 ext 53613</font></i></div></div><div><i><font color="#990000"><b>W:</b> <a href="http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering" target="_blank">http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering</a></font></i><br>
</div></div>
</div></div>