- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort -O conftestf.f conftest.o -o conftest
ld: /usr/lib/crt1.o: No such file: No such file or directory.
Is there a way to get it run under that distribution anyway, without beeing an absolute Linux-Geek? I was using Suse 10.1 before, but yast is broken there, which was one of the main reasons for updating.
Best Regards,
Andreas
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact, /usr/lib/crt1.o is present in my SuSE 10.3 installation, presumably as a result of selecting the gcc development package installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting the same error when I compiler the program with ifort
ld: / usr/lib/crt1.o: No such file: No such file or directory
I am using Open SUSE 10.3 and Installed the latest release of the Intel fortram compiler.
Did you get any solution for that?
Regards,
Divyen Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Suse 11 on a 64 bit machine. I get the same error message:
ld: /usr/lib/crt1.o: No such file: No such file or directory.
I've located the file under
/usr/lib64/crt1.o
So, how do I change which configuration file?
Thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have seen on some distributions that building a 32-bit application on a 64-bit platform also requires installation of the Linux component glibc-devel.i386.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your quick answer!
I've just installed a package called "glibc-devel-32bit" with the YAST. But this has only partially solved the problem.
Now, I get another error message:
ld: /usr/lib64/gcc/x86_64-suse-linux/4.3/32/crtbegin.o: No such file: No such file or directory
Now, how do I proceed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have seen on some distributions that building a 32-bit application on a 64-bit platform also requires installation of the Linux component glibc-devel.i386.
As Steve points out, if you want to use the fc 32-bit ifort on linux x86-64, you must have g++ fully working with the -m32 option, one of the prerequisites being that library. I didn't see a requirement to install any components separately from g++ in my own OpenSUSE 10.3 installation. Normally, you would use the fce 64-bit ifort on x86-64. You must use all 32-bit (or all 64-bit) compilers and libraries to build a given executable.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page