libimf.so not found by Intel C/C++ 9.0 compiler
I looked around but can't see why I'm getting
error while loading shared libraries: libimf.so: cannot open shared object
file: No such file or directory
when I try and run a code compiled with Intel's 9.0 C/C++ compiler on my
'unstable' box. More info below
All offers accepted! Michael
17:48:33 ~/C$ cat test.c;echo $PATH; icc --version;icc test.c;./a.out
#include <stdio.h>
int testA(int*);
int main(void) {
int x = 2;
int y;
y = testA(&x);
printf("%d,%d\n",x,y);
return 0;
}
int testA(int *x) {
int y;
y = *x * (*x);
*x = (*x) + 1;
return y;
}
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/intel_fc_80/bin:/opt/intel/cc/9.0/bin:/home/michael/bin
icc (ICC) 9.0 20050430
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
./a.out: error while loading shared libraries: libimf.so: cannot open
shared object file: No such file or directory
17:58:03 ~/C$ uname -a
Linux manchester-campaigns 2.6.11-1-k7 #1 Mon Jun 20 21:26:23 MDT 2005
i686 GNU/Linux
17:59:42 ~/C$ gcc --version
gcc (GCC) 4.0.2 20050725 (prerelease) (Debian 4.0.1-3)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Reply to: