error on chapter 6 readjusting

Thomas Buchmann thomas.buchmann at desko.de
Wed May 26 23:52:22 PDT 2004


Am Mit, 2004-05-26 um 18.50 schrieb Ken Moffat:
> On Wed, 26 May 2004, Thomas Buchmann wrote:
> 
> > i've successfully run the `make -C ld INSTALL=/tools/bin/install
> > install'. i also did the sed on the specfile and now it contains the
> > right path to the linker '/lib/ld-linux.so.2.
> >
> > Thomas
> >
> > > >
> > > > root:/binutils-build2# cc dummy.c
> > > >
> > > > /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld:
> > > > error while loading shared libraries: libbfd-2.14.so: cannot open
> > > > shared object file: No such file or directory collect2: ld returned
> > > > 127 exit status
> > > >
> 
>  In that case, from a terminal _outside_ chroot run
> 
> ldd /mnt/lfs/usr/lib/libbfd-2.14.so
> 
>  - what is it linked against ?
> 
> Ken
> -- 
>  das eine Mal als Tragödie, das andere Mal als Farce

i forgot to say that libbfd-2.14.so was not in /usr/lib. it still was in
binutils-build/bfd/.libs/ and i manually copied it to /usr/lib and ran
ldconfig afterwards. but i still get the same error message :(




More information about the lfs-support mailing list