My LD_LIBRARY_PATH already includes libimf.so. I have verified this. I don’t know why it complains about it.

 

Chris

 

From: Mathias Gaunard <mathias.gaunard@ens-lyon.org>
Sent: Tuesday, August 10, 2021 5:36 AM
To: boost-users@lists.boost.org
Cc: Borchert, Christopher B ERDC-RDE-ITL-MS CIV <Christopher.B.Borchert@erdc.dren.mil>
Subject: Re: [Boost-users] Replace icpx with icpc

 

On Sat, 31 Jul 2021 at 21:46, Borchert, Christopher B ERDC-RDE-ITL-MS CIV via Boost-users <boost-users@lists.boost.org> wrote:

I'm trying to build Boost 1.76 from source on SLES 15 using Intel 19.1.3.304 (and GCC 10.2.0 underneath). Simply, how to I get b2 not to use icpx? With icpc it builds but icpx gives

./b2 toolset=intel-linux
icpx: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory

I've tried everything and resorted to altering $PATH to remove icpx, which is how I know that's the problem.

 

If you did want to use icpx, the problem is that it cannot find libimf.so. Set the LD_LIBRARY_PATH environment variable accordingly.