I'm trying to run an offload .c code but i'm having trouble getting some libs in the right place, although i've put (so i suppose) the correct path's on my bashrc. I get this line when running the executable:
error while loading shared libraries: liboffload.so.5: cannot open shared object file: No such file or directory
I've tried to -rpath and -rpath-link but still doesn't work. Is my line wrongly written?
(e.g.): icc -fopenmp -rpath=/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 flops3_offload.c -o flops3_offload