- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
/home/alm100/intel/oneapi/mpi/2021.1.1//libfabric/lib:/home/alm100/intel/oneapi/mpi/2021.1.1//lib/release:/home/alm100/intel/oneapi/mpi/2021.1.1//lib:/home/alm100/intel/oneapi/itac/2021.1.1/slib:/home/alm100/intel/oneapi/mkl/latest/lib/intel64:/home/alm100/intel/oneapi/compiler/2021.1.1/linux/lib:/home/alm100/intel/oneapi/compiler/2021.1.1/linux/lib/x64:/home/alm100/intel/oneapi/compiler/2021.1.1/linux/lib/emu:/home/alm100/intel/oneapi/compiler/2021.1.1/linux/compiler/lib/intel64_lin:/home/alm100/intel/oneapi/compiler/2021.1.1/linux/compiler/lib:/home/alm100/intel/oneapi/tbb/2021.1.1/env/../lib/intel64/gcc4.8:/home/alm100/intel/oneapi/debugger/10.0.0/dep/lib:/home/alm100/intel/oneapi/debugger/10.0.0/libipt/intel64/lib:/home/alm100/intel/oneapi/debugger/10.0.0/gdb/intel64/lib
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 `export LD_LIBRARY_PATH=$HOME/intel/oneapi/inspector/2021.1.1/lib64:$LD_LIBRARY_PATH`, then I am able to successfully run `gdb-oneapi`. Am I doing something wrong or is this a bug in the environment setting scripts?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for using Intel forums. This forum is dedicated to queries related to AI Analytics toolkit. Could you please tell us the toolkit you are using.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have multiple toolkits installed, and I'm not sure which one the debugger belongs to. I figured it was either base or analytics so I posted in both forums.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aaron,
Intel® Distribution for GDB* is available as part of the Intel® oneAPI Base Toolkit(https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-debugging-dpcpp-linux/top.html ). As you’ve already raised this query in oneAPI Basetoolkit forum, shall we discontinue monitoring this thread?
Link to your query in Basekit forum : https://community.intel.com/t5/Intel-oneAPI-Base-Toolkit/gdb-oneapi-LD-LIBRARY-PATH-misconfigured/m-p/1250485#M979
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gopika,
I don't know what you mean by stop monitoring it, but sure. Cheers,
-Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aaron,
‘Stop monitoring’ is closing the case. We close a case after providing a solution to the issues/queries of the user. In your case, as you’ve already raised the query in the correct forum, i.e. the Base toolkit forum, we are closing the case in the AI Analytics forum. The case in the Base toolkit forum would remain active and will be handled by their corresponding moderators. For further queries and issues please raise a new thread. We’d be glad to help you. Any further interaction in this thread will be considered community only.
Regards
Gopika
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page