ld: cannot find crti.o: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: binutils
Recent update in natty (something multiarch-related) and all my local gcc builds can no longer link any executables.
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [libgcc_s.so] Error 1
The internal linker script needs to add /usr/lib/
Regards
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: binutils 2.21.0.
ProcVersionSign
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Sat Mar 19 08:57:16 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: binutils
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in binutils (Ubuntu): | |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in binutils (Ubuntu): | |
assignee: | Steve Langasek (vorlon) → nobody |
status: | New → In Progress |
tags: |
added: multiarch removed: running-unity unity-2d |
Same problem here. For example, it is no longer possible to build gcc from source: once the build gets to the point where
the new gcc needs to build a program linking fails with
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status
This is after recently updating natty on an x86-64 machine