cquery startup-crashes with "version `CXXABI_1.3.11' not found"
HighCommander4 opened this issue · comments
When I try to run VSCode with vscode-cquery installed, the cquery server startup-crashes with:
/home/nr/programs/cquery/bin/cquery: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /home/nr/programs/cquery/bin/cquery)
I don't understand why I'm getting this. I put every version of GCC that I've installed into my LD_LIBRARY_PATH
. Moreover, when I start the cquery server manually, it doesn't give this error.
Here is what ldd cquery
outputs:
$ ldd ~/programs/cquery/bin/cquery
linux-vdso.so.1 (0x00007ffd88b11000)
libclang.so.7 => /home/nr/programs/cquery/bin/../lib/libclang.so.7 (0x00007f8a92abc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8a928b8000)
libstdc++.so.6 => /home/nr/programs/gcc/gcc-8.2/lib64/libstdc++.so.6 (0x00007f8a92536000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8a92232000)
libgcc_s.so.1 => /home/nr/programs/gcc/gcc-8.2/lib64/libgcc_s.so.1 (0x00007f8a9201a000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8a91dfd000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8a91a5e000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8a91844000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8a9163c000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f8a91412000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8a96b9c000)
So why is it trying to load /usr/lib/x86_64-linux-gnu/libstdc++.so.6
, which is older?
This is a vscode-cquery issue.