open-discussion > 30-Sept-2016 dcm2niix requires GLIBC_2.14
Showing 1-3 of 3 posts11 Subscribers
replyDisplay: Results per page:
Oct 12, 2016  07:10 AM
30-Sept-2016 dcm2niix requires GLIBC_2.14
The dcm2niix included with the referenced release will not run on RHEL 6.6.  It fails with the error:

dcm2niix: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by dcm2niix)

MRIcroGL does work.  I looks as if the two executables were compiled on different machines:

[~]$ file 'which dcm2niix'
/project/software/mricron/20160930gl/dcm2niix: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
[~]$ file 'which MRIcroGL'
/project/software/mricron/20160930gl/MRIcroGL: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped

Any chance of dcm2niix being compiled for a lower GLIBC?

Ben
reply reply with quote
Oct 31, 2016  09:10 AM
RE: 30-Sept-2016 dcm2niix requires GLIBC_2.14
I also found the same issue here. Our institute was still using Red Hat/CentOS 6 as our working hose. So, we can't upgrade to Red Hat/CentOS 7 soon. Is there any reason that dcm2niix has to be built against newer GLIBC?

Cecil
reply reply with quote
Nov 1, 2016  08:11 AM
RE: 30-Sept-2016 dcm2niix requires GLIBC_2.14
You can download a version of dcm2niix compiled on Centos 6.6 (kernel 2.6.18; GCC 4.4.7)
  http://people.cas.sc.edu/rorden/SW/

dcm2niix and MRIcroGL were compiled on the same machine, but generated with different compilers (dcm2niix = gcc, MRIcroGL = fpc). GLIBC 2.14 was released in 2011 and Linux 2.6.32 in 2009, so my compiled software should work on most modern Linux systems. I compiled the project on NeuroDebian 8.0 (kernel 2.6.32; GCC 4.9.2). I think there will always be a tradeoff in distributing compiled Linux software between maximum compatibility versus benefits of new versions. 

If you want a version optimized for your system you can always compile your own by getting the code from GitHub (https://github.com/rordenlab/dcm2niix), and running the "make" command in the "console" folder.
reply reply with quote
reply