error while loading shared libraries:libitm.so

error while loading shared libraries:libitm.so

After i compiled the example intel_stmtest_hashtable.c successfully(no error message),

=> icc -Qtm_enabled -openmp intel_stmtest_hashtable.c -o hashtable

i trid to execute the program.

=>./hashtable 229 1000000 10000

I get thefollowing error message:

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

However, i find the libitm.so in the path:

intel/cc/10.0.504/lib/libitm.so

How can i overcome the problem?

Thanks for your help :)

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Assuming you are on linux (which would seem to be the case).

You mention "However,I find the libitm.so in the path:", but on Linux dynamic libraries aren't searched for in $PATH, but in $LD_LIBRARY_PATH. Are you sure that is correctly set?

It'd be worth using "ldd hashtable" to see what libraries are being found.

It'd be worth doing an "ls -l" on the libitm.so which you think you are using to check that it really exists, and isn't a dangling symbolic link (for instance).

HTH (and apologies if it was all obvious suggestions :-( )

-- Jim

Faça login para deixar um comentário.