- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have an executable running on Linux-64 that runs just fine.
However, if I try to debug the program by using gdb, the moment I issue the "run" command, I get the following error:
error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
Do I need to do anything special in order to debug an application linked with MKL on Linux-64? If I just simply run the program - in the same Linux terminal window with the same environment - it runs fine, but no inside gdb.
Thanks.
-Arthur
I have an executable running on Linux-64 that runs just fine.
However, if I try to debug the program by using gdb, the moment I issue the "run" command, I get the following error:
error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
Do I need to do anything special in order to debug an application linked with MKL on Linux-64? If I just simply run the program - in the same Linux terminal window with the same environment - it runs fine, but no inside gdb.
Thanks.
-Arthur
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
To use gdb you need to have the same environment as for running of the executable, especially, corrected LD_LIBRARY_PATH.
Please run ldd command for your exacutable to check that all MKLlibraries can be found.
To use gdb you need to have the same environment as for running of the executable, especially, corrected LD_LIBRARY_PATH.
Please run ldd command for your exacutable to check that all MKLlibraries can be found.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page