Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Discussions

Error in loading the shared library libguide.so

pooja_i2it
Beginner
835 Views
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.
0 Kudos
3 Replies
TimP
Honored Contributor III
835 Views
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.
0 Kudos
roddur
Beginner
835 Views
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.
0 Kudos
Alexander_C_Intel
835 Views
Check the value of LD_LIBRARY_PATH env variable. It must contain the path whith compiler's shared libraries.
0 Kudos
Reply