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

idb cannot find Library

Boris_B_
초급자
708 조회수
My Fortran program uses Lapack:

$ ifort -r8 -c -g prog.f sub.f
$ ifort -r8 -g prog.o sub.o -lmkl_lapack -lmkl_ia32 -lguide
$ a.out

runs just fine, and so does

$ gdb a.out
(gdb) run

but

$ idb a.out
(idb) run

bombs with message:

dyld: Library not loaded: libguide.dylib
Referenced from: a.out
Reason: image not found

Please help.

0 포인트
2 응답
TimP
명예로운 기여자 III
708 조회수
libguide should be found if you have set the ifort environment variables. In general, foridb, you would need to set both the idb and the compiler environment (e.g.by idbvars and ifortvars scripts). Perhaps your environment variables have become unset since you ran the first cases successfully.
0 포인트
Boris_B_
초급자
708 조회수
Thank you. I had run ifortvars but not the idbvars. Running idbvars solved the problem.
0 포인트
응답