Hi,
I tried to compile ROMS but I keep getting this "error: ld: cannot find -lguide" and cannot produce the executable.
I have tried several recent versions of intel-suite including 2011 and 2013, but it still seem to keep looking for libguide.
I have searched through my build.bash, makefile and ifort compiler macros and there's nothing specifying it to find libguide so I am not sure why it still does that. I do a make clean before building to remove any macros in earlier builds.
Any idea where else I could be making a mistake that could result in this error?
Thanks!
ld: cannot find -lguide
-
- Posts: 7
- Joined: Wed Nov 16, 2011 3:34 pm
- Location: Imperial College London
-
- Posts: 64
- Joined: Mon Oct 17, 2005 2:02 am
- Location: Institute of Oceanology,Chinese Academy of Sciences
Re: ld: cannot find -lguide
libguide is a library needed by intel compiler, you need to set up the compile environment for it. A typical command is as follows:
source <Path of your intel compiler>/bin/ifortvars.[sh|csh] [ia32|intel64|ia64]
source <Path of your intel compiler>/bin/ifortvars.[sh|csh] [ia32|intel64|ia64]