- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Eclipse to write a program in C and I've just installed ICC to switch to it from GCC. My program compiles fine but when it comes to running, I get an error message as follows:
/home/phil/workspace/forced3d2/Release/forced3d2: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
I've already entered "source /opt/intel/cc/10.0.023/bin/iccvars.sh" and "source /opt/intel/idb/10.0.023/bin/idbvars.sh" into the terminal and LD_LIBRARY_PATH is set to /opt/intel/cc/10.0.023/lib.
I don't know what else to try, can anyone give me any pointers?
/home/phil/workspace/forced3d2/Release/forced3d2: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
I've already entered "source /opt/intel/cc/10.0.023/bin/iccvars.sh" and "source /opt/intel/idb/10.0.023/bin/idbvars.sh" into the terminal and LD_LIBRARY_PATH is set to /opt/intel/cc/10.0.023/lib.
I don't know what else to try, can anyone give me any pointers?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
Have you tried adding LD_LIBRARY_PATH /opt/intel/cc/10.0.023/lib
under Environment tab when you create a new configuration under "Run" or "Debug"? Also http://www.linuxquestions.org/questions/showthread.php?t=358754seems to list some things you can try.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MADmtokugaw, you are a lifesaver, I was literally pulling my hair out!!
For anyone else that stumbles across this via a search, the properties of the project had the LD_LIBRARY_PATH set already - which is where I looked first. Adding LD_LIBRARY_PATH /opt/intel/cc/10.0.023/lib to the environment tab on the *Run...* option did the trick. :)
For anyone else that stumbles across this via a search, the properties of the project had the LD_LIBRARY_PATH set already - which is where I looked first. Adding LD_LIBRARY_PATH /opt/intel/cc/10.0.023/lib to the environment tab on the *Run...* option did the trick. :)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page