neutronimaging / imagingsuite

Sources for imaging related tools
GNU General Public License v3.0
18 stars 9 forks source link

symbol lookup error #690

Open vlocateli opened 2 weeks ago

vlocateli commented 2 weeks ago

./MuhRec: symbol lookup error: ./MuhRec: undefined symbol: _Z12CheckFoldersRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb I have the new abi: command: gcc -v 2>&1 | sed -n 's/.*\(--with-default-libstdcxx-abi=new\).*/\1/p'

output: --with-default-libstdcxx-abi=new

do you think could be other versions of gcc installed? @damskii9992

UPDATE: With: ls /usr/bin/gcc* I get: /usr/bin/gcc /usr/bin/gcc-ar /usr/bin/gcc-nm /usr/bin/gcc-ranlib /usr/bin/gcc-11 /usr/bin/gcc-ar-11 /usr/bin/gcc-nm-11 /usr/bin/gcc-ranlib-11 /usr/bin/gcc-12 /usr/bin/gcc-ar-12 /usr/bin/gcc-nm-12 /usr/bin/gcc-ranlib-12 /usr/bin/gcc-9 /usr/bin/gcc-ar-9 /usr/bin/gcc-nm-9 /usr/bin/gcc-ranlib-9

So I have multiple versions of gcc installed.

vlocateli commented 2 weeks ago

@damskii9992 I made a little confusion. On one issue I managed to fix some errors on my VM but put them that issue instead of creating a new one, I still having this issue, which I cannot build on my machine at the laboratory. I ran the C++ demangler:

c++filt _Z12CheckFoldersRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 
CheckFolders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)

I also uninstalled all my older compilers. Now, I only have GCC11 installed.

damskii9992 commented 1 week ago

Hello Victor Did you manage to solve this issue or do you still have problems?