Sample Header Ad - 728x90

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

2 votes
1 answer
2396 views
When I try to compile Binutils, Glibc and Zlib using chroot on my [LFS](http://www.linuxfromscratch.org/lfs/) system, I get this error: > ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such file or directory I compiled Binutils before without using chroot, the files libbfd.a, libbfd.so, libbfd-2.22.so and libbfd.la exist both in /tools/lib/ and /usr/lib/ I don't know where the compiler is searching for it. How to continue compilation?
Asked by Vi Pau (166 rep)
Aug 1, 2012, 07:29 AM
Last activity: Jun 3, 2025, 09:01 PM