Extremely confused: /usr/lib/crt1.o: No such file or directory

Extremely confused: /usr/lib/crt1.o: No such file or directory

Hi All,
I really need help on this because I've searched the message boards and none seem to help:

When I compile a "hello world" .f90 script with the "ifort" command I get the error:

"/usr/bin/ld: cannot open /usr/lib/crt1.o: No such file or directory"

So the executable is not created and I can't run any fortran program (an object file is created). Here is my system info:

1) I run Fedora Core 1
2) I have the following kernel:


3) I have the following glibc:
4) "crt1.o" definatley doesn't exist, I've done a "find" and
"locate" search for it.
5) I got the linker 'ld' in rpm:
6) libc6* doesn't exist either, and I would like to avoid using 'alien' command to convert libc6*.deb into an rpm.

WHat I know so far is:
a) Supposedly crt1.o should exist in libc6-dev which should exist in glibc-devel package. (it doesn't appear to in my case)
b) The system requirements for Intel-Fortran compiler are: kernel of 2.4.x and glibc 2.3.2 which I have.

SO, where can I get crt1.o? to run this compiler correctly. Why doesn't Fedora's glibc contain libc6-dev*?. I have no idea what is going on. Any help would be much appreciated!


Message Edited by edobrien on 03-01-2004 01:01 PM

Message Edited by edobrien on 03-01-2004 01:20 PM

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

/usr/lib/crt1.o comes from glibc-devel. I am running
Fedora Core 1 with Intel 8.0 compilers just fine. If
/usr/lib/crt1.o is not there, you may have a corrupted
install of glibc-devel. Download that rpm and reinstall
it and see if that fixes your problem.

Leave a Comment

Please sign in to add a comment. Not a member? Join today