error while loading shared

error while loading shared

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: cannot open shared object file: No such file or directory

However, i find the in the path:


How can i overcome the problem?

Thanks for your help :)

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

You mention "However,I find the 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 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

Leave a Comment

Please sign in to add a comment. Not a member? Join today