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

error loading plugin: libimf.so

CAB478
Beginner
2,513 Views

I am running OneAPI 2022.1.2.117 on RHEL 8.6 and receive the following error during compilation.

ifort -o Section_make_poly Section_make_poly.f
ld: /opt/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/../../bin/intel64/../../lib/icx-lto.so: error loading plugin: libimf.so: cannot open shared object file: No such file or directory

Is there anyone with a suggestion?

0 Kudos
1 Reply
Ron_Green
Moderator
2,452 Views

either a bad installation or an incomplete LD_LIBRARY_PATH

 

cd /opt/intel/oneapi/compiler/latest

 find . -name libimf.so

./linux/compiler/lib/ia32_lin/libimf.so

./linux/compiler/lib/intel64_lin/libimf.so

 

now check 

echo $LD_LIBRARY_PATH

 

check that env var has /opt/intel/oneapi/compiler/2022.0.2/linux/lib/intel64_lin  in the path

You are using bash as shell and

source /opt/intel/onepi/setvars.sh

 

 

0 Kudos
Reply