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

error while loading shared libraries

jacques_fontignie
347 Views
Hello,



I am trying to compile a mixed language program on linux: the main is in C++ and it uses a fortran library (compiled with intel fortran compiler).



Makefiles are created with autoconf/libtool. There are no erros in compiling but when running, I get the error:



error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory



I know I have to modify LD_LIBRARY_PATH because the compiler is installed in a weird directory. But the goal is to make the executable portable. What have I to add in the Makefiles to inform the linker to use static libraries?

Message Edited by jacques.fontignie on 10-26-2005 01:21 AM

0 Kudos
0 Replies
Reply