- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attempting to create a static library using XCode 2.4 and Intel Fortran 9.1.032. The link stage fails with the following error:
dyld: Library not loaded: libifcor.dylib
Referenced from: /usr/bin/ifort-9.1-base/bin/fortcom
Reason: image not found
xilibtool: error: Fatal error in /usr/bin/ifort-9.1-base/fortcom
Is there some path setting I'm missing? I have added the line
DYLD_LIBRARY_PATH=/opt/intel/fc/9.1.032/lib
to my .bash_login file.
Scott Frasier
dyld: Library not loaded: libifcor.dylib
Referenced from: /usr/bin/ifort-9.1-base/bin/fortcom
Reason: image not found
xilibtool: error: Fatal error in /usr/bin/ifort-9.1-base/fortcom
Is there some path setting I'm missing? I have added the line
DYLD_LIBRARY_PATH=/opt/intel/fc/9.1.032/lib
to my .bash_login file.
Scott Frasier
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Scott,
Is that a typo for the library name? There is a "libifcore.dylib" but no such lib as "libifcor.dylib". If the error message is about a missing "libifcor.dylib" this may be an issue needing further attention.
Also, you should probably also add the following to your .bash_login
source /opt/intel/fc/9.1.032/bin/ifortvars.sh
Then check that LD_LIBRARY_PATH has the path to the /lib directory as well as DYLD_LIBRARY_PATH
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Ron,
The typo was meant to be libifcore.dylib.
I have since installed 9.1.035 and the missing image is now libimf.dylib. The problem appears to be a bad path in whatever shell is running the command from the driver.
I have added the apprpriate ifortvars.sh to the .bash_login and have added the .csh to the .login file as well. It still doesn't work from XCode.
I have been able to execute the xilibtool command that the driver executes from XCode directly from a bash or tcsh terminal and it works fine.
Scott
The typo was meant to be libifcore.dylib.
I have since installed 9.1.035 and the missing image is now libimf.dylib. The problem appears to be a bad path in whatever shell is running the command from the driver.
I have added the apprpriate ifortvars.sh to the .bash_login and have added the .csh to the .login file as well. It still doesn't work from XCode.
I have been able to execute the xilibtool command that the driver executes from XCode directly from a bash or tcsh terminal and it works fine.
Scott

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