cannot open shared library during execution

Posted by Sharat Chandra on Stack Overflow See other posts from Stack Overflow or by Sharat Chandra
Published on 2010-05-07T01:05:53Z Indexed on 2010/05/07 1:08 UTC
Read the original article Hit count: 298

I compiled my program as follows.

mpicc b_eff_io.c -o b_eff_io2 -I/scratch/irodero/papi/include -L/scratch/irodero/papi/src -lpapi -lm

Howeever I got this error

 error while loading shared libraries: libpapi.so: cannot open shared object file: No such file or directory

What shud I do ?

© Stack Overflow or respective owner

Related posts about shared-libraries

Related posts about runtime-error