Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Compiler error on OS X

Moshe_R_
Beginner
161 Views

When compiling with icpc, regardless of which code, I get

icpc: error #10401: error running 'xcrun -find ld'

Any idea on how this can be fixed?

0 Kudos
3 Replies
Light_Intel
Moderator
161 Views

Try to reinstall xcode (xrun is provided by xcode). This may solve your issue. Keep me posted.

Regards,

Noga

Moshe_R_
Beginner
161 Views

I found out what the problem is: Macports installs libraries in opt/local/lib. Including this in DYLD_LIBRARY_PATH interfered with system files. I removed it then and instead used something called DYLD_FALLBACK_LIBRARY_PATH I found on the internet, things are now working. Since unix is black magic passed as oral tradition from one generation to the next, there might well be a better hack out there.

Light_Intel
Moderator
161 Views

Thank you for spreading the magic.

Reply