Om_assemble issue when trying to compute head model

I'm trying to compute a head model using OpenMEEG. I'm having the same issue as this post right here, however neither of the solutions are working.

The error messages read:
OpenMEEG error #1:
./om_assemble: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by ./om_assemble)
./om_assemble: /software/Matlab2012b/sys/os/glnxa64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found (required by ./om_assemble)
./om_assemble: /lib64/libc.so.6: version 'GLIBC_2.14' not found (requred by /home/user/.brainstorm/openmeeg/linux64/libOpenMEEG.so.1)
./om_assemble: /software/Matlab2012b/sys/os/glnxa64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by ./home/user/.brainstorm/openmeeg/linux64.libOpenMEEGMaths.so.1)
./om_assemble: /lib64/libc.so.6: version 'GLIBC_2.14' not found (requred by /home/user/.brainstorm/openmeeg/linux64/libOpenMEEGMaths.so.1)

I have tried this on Matlab2012b and 2017b.

Best

what version of Linux are you using? Can you tell us what version of gcc is available on your system?

You need to run:

gcc --version

thanks
Alex

Can you run aswell:

ldd --version

and

ldd ~/.brainstorm/openmeeg/linux64/om_assemble

note that the last command is meant for linux. (adapt it as needed)

@Alexandre
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright © 2010 Free Software Foundation, Inc.

@sik
ldd (GNU libc) 2.12
Copyright © 2010 Free Software Foundation, Inc.

and

/home/user/.brainstorm/openmeeg/linux64/om_assemble: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /home/*user*/.brainstorm/openmeeg/linux64/om_assemble) /home/*user*/.brainstorm/openmeeg/linux64/om_assemble: /usr/lib64/libstdc++.so.6: versionGLIBCXX_3.4.19’ not found (required by /home/user/.brainstorm/openmeeg/linux64/om_assemble)
linux-vdso.so.1 => (0x00007fff49fff000)
libOpenMEEG.so.1 => not found
libOpenMEEGMaths.so.1 => not found
libgomp.so.1 => /usr/lib64/libgomp.so.1 (0x0000003b21200000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003b2c600000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003b2ba00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003b1f600000)
librt.so.1 => /lib64/librt.so.1 (0x0000003b20600000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b1fe00000)
libm.so.6 => /lib64/libm.so.6 (0x0000003b1fa00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003b1f200000)

Thank you for both of your replies by the way :slight_smile:

The main issue is that you are using glibc-2.12 which dates from August 2010 and OpenMEEG is build against 2.14 minimum (Oct 2011). Unless there’s a strict need for using such an old glibc, I would recommend to update glibc.

I started documenting a workaround for the GLIBCXX error here:
https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors