-   Linux From Scratch (
-   -   LFS 6.2 - Chap. 6.11 - Binutils 2.16.1 - make error (

CharlesCVA 03-12-2008 11:52 AM

LFS 6.2 - Chap. 6.11 - Binutils 2.16.1 - make error
So obviously I am new here so i wont use the standard greeting of 'newb question'... here is the issue:

upon exec the command: make tooldir=/usr

i receive the following error from command:
ar rc ./libiberty.a \ ./'multiple .o files'

ar: error while loading shared libraries: cannot open shared object file: No such file or directory

I can see that the issue is that the script cannot find the file. However i do not know where this file is or how to corrent the issue. i have looked in /usr/lib and the only thing close is

What should i do? or where can i find the information to correct this issue? I am on chapter 6 (Installing basic system software) and do not want to start over.



CharlesCVA 03-12-2008 01:16 PM

well i found this thread:

and it seems as though they had the EXACT same issue as I. I am going to restart at chapter 6.1 and perhaps that shall fix it. Sorry for the repeat thread.

CharlesCVA 03-12-2008 01:39 PM

found work around...then it failed
so i was able to get around the errors (as the appeared) by issuing the following command before running the make again:

cd /tools/lib
cp libiberty.a /sources/lfs-sources/binutils-build/libiberty
cd /sources/lfs-sources/binutils-build/
make tooldir=/usr

you will also have the same issue with:

again just copy those files to the appropriate build directory: --> binutils-build/bfd --> binutils-build/opcodes

However... the check failed... thus so did the install...
Starting over at 6.1 :(

All times are GMT -5. The time now is 10:32 PM.