Opened 20 years ago
Closed 20 years ago
#881 closed defect (invalid)
GCC in chapter 5 pass 1 doesn't look for libraries in /usr/lib
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | TESTING |
Severity: | critical | Keywords: | |
Cc: |
Description
That's it. It doesn't find libc.a (in my system it resides in /usr/lib) and can't link properly a dummy executable, complaining that it can't find _libc_csu_init and _libc_csu_fini. So, to compile glibc, pass 1 (the next step), I had to include in the configure parameters LDFLAGS="-L/usr/lib". For the next steps gcc will find libc.a in /tools/usr/lib without complaints. Is this a particularity of my host (a LFS 4.1 system or a problem in the build system?
Note:
See TracTickets
for help on using tickets.
Something must be corrupted in your system, by default the linker searches /usr/local/lib, /usr/lib, and then /lib. So somethings out of whack.
Closing as invalid.