I have the oneapi with HPC packages installed, version 2021.1.1. From the oneapi directory I source the setvars.sh file to configure my environment. When I try to run gdb-oneapi I get the error message
gdb-oneapi: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by gdb-oneapi) gdb-oneapi: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/alm100/intel/oneapi/debugger/10.0.0/gdb/intel64/lib/libiga64.so) gdb-oneapi: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/alm100/intel/oneapi/debugger/10.0.0/gdb/intel64/lib/libiga64.so)
My envrionment variable LD_LIBRARY_PATH is only set through the setvars.sh script, and looks like so:
I also tried sourcing the file debugger/latest/env/vars.sh in the oneapi directory, and it did not fix the issue. Doing a
find . -name 'libstdc++*'
in the oneapi directory shows a few results, the most relevant being ./inspector/2021.1.1/lib64/libstdc++.so.6.0.22, which is newer than my system's version. If I modify my environment with
, then I am able to successfully run gdb-oneapi. Am I doing something wrong or is this a bug in the environment setting scripts?
Thanks for reaching out to us.
Could you please install the latest version of Intel OneAPI Base Tool Kit 2021.2 and try running the command "gdb-oneapi" again.
Please let us know if your issue persists.
Thanks & Regards,
As we have not heard back from you, we are considering that your issue has been resolved. So we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Thanks & Regards,