Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Moshe_R_
Beginner
90 Views

Compiler error on OS X

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
90 Views

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

Regards,

Noga

Moshe_R_
Beginner
90 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
90 Views

Thank you for spreading the magic.

Reply