- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working at a Fortran code which I compile and link using Intel Fortran Composer. Everything was OK until I installed Lion and XCode4 on my machine. After compilation, when I link my code I get the error message
ld: can't write output file: program_name for architecture x86_64
The loading option I use is-L/usr/X11R6/lib -lX11 -lm
Anybody has any idea what's wrong?Thanks a lot in advance,
Laura
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I just solved the problem using sudo make install. It just wasn't needed before! I don't know why now it is.

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