By Felix Ker on May 24, 2007

While using gcc on a newly installed system you may get:
/usr/bin/ld: crt1.o: No such file: No such file or directory

This is a common problem, but with a simple solution.

On debian:
apt-get install libc6-dev

On Fedora:

$ locate crt1.o
/usr/lib/crt1.o

On Ubuntu:
apt-get install libc6-dev

{ If not root, sudo apt-get install libc6-dev }

Category: Technology, Tips and Tricks

Tagged: , , , , , , , , , , , , , , ,

Related entries:

  1. Dell to offer Ubuntu Linux Systems
  2. Get your free Ubuntu CD here
  3. Windows XP : (Re)-Install
  4. Little updates
  5. Are you already using Windows XP Service Pack 2 (SP2)?

2 Responses to “crt1.o: No such file: No such file or directory”

  1. Vlaki says:

    And what if I use Windows 7?

  2. mohannad says:

    already i have libc6-dev on ubuntu and still get the same error, please advice.

Leave a Reply