I am not sure what to do now, I’ve updated my LD_LIBRARY_PATH and now all the libraries are seen by ldd. If I launch om_gain from a terminal, I’ve got no error, but in brainstorm, it is still not working. Any idea?
capulet 159% cd ~/.brainstorm/openmeeg/linux64
capulet 160% ldd ./om_gain
linux-vdso.so.1 => (0x00007ffeae976000)
libOpenMEEG.so.1 (0x00007ff3ed98a000)
libOpenMEEGMaths.so.1 (0x00007ff3ec4d7000)
libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007ff3ec2a8000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff3ebfa2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff3ebc8c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff3eba74000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff3eb6ab000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff3eb48d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff3eb289000)
libz.so.1 => /opt/minc-itk4/lib/libz.so.1 (0x00007ff3eb06e000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff3edd46000)
capulet 161% ./om_gain -MEG ~/.brainstorm/tmp/openmeeg_hminv.mat ~/.brainstorm/tmp/openmeeg_dsm.mat ~/.brainstorm/tmp/openmeeg_h2mm.mat ~/.brainstorm/tmp/openmeeg_ds2meg.mat ~/.brainstorm/tmp/openmeeg_gain_meg.mat ./om_gain version 2.4.1 compiled at Aug 29 2018 08:19:44 using OpenMP
Executing using 4 threads.
| ------ ./om_gain
| -MEG
| /home/bic/tanguy/.brainstorm/tmp/openmeeg_hminv.mat
| /home/bic/tanguy/.brainstorm/tmp/openmeeg_dsm.mat
| /home/bic/tanguy/.brainstorm/tmp/openmeeg_h2mm.mat
| /home/bic/tanguy/.brainstorm/tmp/openmeeg_ds2meg.mat
| /home/bic/tanguy/.brainstorm/tmp/openmeeg_gain_meg.mat
| -----------------------
-------------------------------------------
| Elapsed Time: 49.137 s.
-------------------------------------------