- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am getting the error as follows :
error while loading the shared libraries : libguide.so : cannot open shared object file
I am compiling my openmp program with icpc -openmp try.cpp but when i am linking it
with a.out , i am getting the above mentioned error. I am new to openmp so it would be great
if anyone can help out.
I am getting the error as follows :
error while loading the shared libraries : libguide.so : cannot open shared object file
I am compiling my openmp program with icpc -openmp try.cpp but when i am linking it
with a.out , i am getting the above mentioned error. I am new to openmp so it would be great
if anyone can help out.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you set the environment variables in accordance with the ifortvars script in the compiler /bin/ directory? I suppose you aren't using the current compiler version, as the default OpenMP library now is libiomp5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i dont know the exact file for C compiler, but what you have missed is running the shell script *vars.sh. i run fortran and for that it is ifortvars.sh. check for something like iccvars.sh. or simply you can compile your code statically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the value of LD_LIBRARY_PATH env variable. It must contain the path whith compiler's shared libraries.

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