rordenlab / MRIcroGL

v1.2 GLSL volume rendering. Able to view NIfTI, DICOM, MGH, MHD, NRRD, AFNI format images.
https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage
Other
197 stars 31 forks source link

Incompatibility of v1.2.20220720 with Ubuntu 18.04 circumstance #43

Closed kytk closed 2 years ago

kytk commented 2 years ago

Thank you for continuous development of MRIcroGL.

I installed the latest version (v1.2.20220720) on both Ubuntu 18.04 and Ubuntu 20.04.

Though MRIcroGL runs without any problems on Ubuntu 20.04, it fails with Ubuntu 18.04 with the following error;

MRIcroGL: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./MRIcroGL)

(Both MRIcroGL and MRIcroGL_QT result in the same error.)

The shipped version of libc6 on Ubuntu 18.04 is 2.27 whereas the latest MRIcroGL requires 2.29.

I tried to find a solution, but it seems installing libc>=2.29 might cause several problems system-wide.

Any ideas on how to handle this?

neurolabusc commented 2 years ago

@kytk can you tell me if the MRIcroGL_linux1804.zip build works for you. I built this on a headless machine, so I am not sure it works. Beware of glibc prior to 2.29 for heavily multi-threaded usage.

kytk commented 2 years ago

@neurolabusc Thank you for your prompt work! MRIcroGL_linux1804.zip works without any problems. Much appreciated.

neurolabusc commented 2 years ago

@kytk can you tell me if the menu items in the Scripting/Templates folder work? There were reports that scripting did not work on Ubuntu 18.04 for older MRIcroGL releases.

kytk commented 2 years ago

@neurolabusc

It works. I selected Scripting -> Templates -> {basic, clip, cluster, glass, invert, mip} and everything went smoothly!

I also checked that Scripting -> {New, Save, Open} and found no problems.