| Summary: | Failed to compile binutils-2.21 | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Feng Haibo <fhbxl> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | i386 | Target: | i386 |
| Build: | |||
|
Description
Feng Haibo
2011-06-04 05:14:26 UTC
(In reply to comment #0) > /bin/sh: error while loading shared libraries: /usr/lib/libc.so: invalid ELF > header > I could work around this problem by doing the following: > $cd /usr/lib > $rm libc.so > $ln -s /lib/libc.so.6 libc.so > > But this is not the best way, because ASCII file /usr/lib/libc.so's missing > incurs other problems, fox example "make menuconfig" fails to launch Huh, is your system libc corrupt? Are you building as root? (In reply to comment #0) > I could work around this problem by doing the following: > $cd /usr/lib > $rm libc.so > $ln -s /lib/libc.so.6 libc.so > > But this is not the best way, because ASCII file /usr/lib/libc.so's missing > incurs other problems, fox example "make menuconfig" fails to launch I notice this workaround , is wrong , no, /usr/lib/libc.so is not missing , /usr/lib/libc.so, is in glibc-devel package. Sometimes, also, some people do this wrong workaround when need the static libraries which normally are in a package glibc-static Many people routinely build toolchains with Buildroot without seeing this problem, and we haven't had further details from the initial bug reporter since several months. I'm therefore closing this bug. Anyone seeing the issue is invited to reopen the bug with more details. |