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: rodolfo@… Owned by: lfs-book@…
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?

Change History (1)

comment:1 by jim@…, 20 years ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.