- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DId a clean install of update 7 as well as an update, with the same ld error.
UsingIntel Fortran Composer XE 2011 for Mac OS* X Update 7, Version 2011.7.246
Mac 10.7.2
bash-3.2# ifort t.f90
ld: library not found for -lcrt1.10.6.o
bash-3.2# locate crt1.10.6.o
/Volumes/MacX/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/crt1.10.6.o
/Volumes/MacX/Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.10.6.o
/Volumes/MacX/Developer/SDKs/MacOSX10.7.sdk/usr/lib/crt1.10.6.o
/Volumes/MacX/usr/lib/crt1.10.6.o
bash-3.2#Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't say for certain, but the non-default location for Developer may be confusing the ifort driver. First, do you
source /opt/intel/bin/compilervars.sh intel64
before the compilation.
Second, have you tried to link Developer under root? Like this:
ln -s /Volumes/MacX/Developer /Developer
You can also dump the entire compilation environment along with the paths using:
ifort -dryrun t.f90
that should show where the driver is searching for the libraries. When you installed ifort, was Developer under /Volumes/MacX or did you move it there after ifort was installed? It's odd, even though your Developer is in an odd location, I would think the installer would have pathed in the Developer path you gave it during the installation. There may be a bug here with the installer and odd Developer locations.
ron
source /opt/intel/bin/compilervars.sh intel64
before the compilation.
Second, have you tried to link Developer under root? Like this:
ln -s /Volumes/MacX/Developer /Developer
You can also dump the entire compilation environment along with the paths using:
ifort -dryrun t.f90
that should show where the driver is searching for the libraries. When you installed ifort, was Developer under /Volumes/MacX or did you move it there after ifort was installed? It's odd, even though your Developer is in an odd location, I would think the installer would have pathed in the Developer path you gave it during the installation. There may be a bug here with the installer and odd Developer locations.
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
also, forgot to ask - but you are using Xcode 4.2 ?
ron
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's my output on a Lion 10.7.2 and Xcode 4.2 system with Update 7 ifort. First, we source the compilervars.sh script to set paths, and then compile:
super$ source /opt/intel/bin/compilervars.sh intel64
super$ ifort test.f90
super$
no problems. But again, I have Developer under root dir, /Developer
ron
super$ source /opt/intel/bin/compilervars.sh intel64
super$ ifort test.f90
super$
no problems. But again, I have Developer under root dir, /Developer
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the replies. I am using XCode 4.1 as the 4.2 update fails to install (logged with Apple Bug).
I did a restart of the Mac, and a reinstall of Update 7, and removed all old versions and links,
and the test compile now works with no library errors.

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