LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.2 - Chap. 6.11 - Binutils 2.16.1 - make error (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-2-chap-6-11-binutils-2-16-1-make-error-627536/)

CharlesCVA 03-12-2008 12:52 PM

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'


error:
ar: error while loading shared libraries: libbfd-2.16.1.so: 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 libiberty.an.

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.

TIA.

Charles

CharlesCVA 03-12-2008 02:16 PM

well...
 
well i found this thread:

http://www.linuxquestions.org/questi...oblems-473481/

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 02: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:
libbfd.la
libopcodes.la

again just copy those files to the appropriate build directory:
libbfd.la --> binutils-build/bfd
libopcodes.la --> 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 04:01 PM.