- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to reinstall xcode (xrun is provided by xcode). This may solve your issue. Keep me posted.
Regards,
Noga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for spreading the magic.

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