LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-12-2008, 11:52 AM   #1
CharlesCVA
LQ Newbie
 
Registered: Mar 2008
Location: Charlottesville, Virginia
Distribution: Ubuntu - Gutsy Gibbon
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 03-12-2008, 01:16 PM   #2
CharlesCVA
LQ Newbie
 
Registered: Mar 2008
Location: Charlottesville, Virginia
Distribution: Ubuntu - Gutsy Gibbon
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 03-12-2008, 01:39 PM   #3
CharlesCVA
LQ Newbie
 
Registered: Mar 2008
Location: Charlottesville, Virginia
Distribution: Ubuntu - Gutsy Gibbon
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs chapter 6.11 Binutils-2.16.1 make problems Nislick Linux From Scratch 3 08-15-2006 05:25 PM
make configure-host for binutils-2.16.1 fails under 7.0-cross-lfs-20051019-x86_64 Basel Linux From Scratch 2 10-24-2005 11:07 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
binutils first pass make install failure in LFS-6.0 dibyadeep Linux From Scratch 3 01-05-2005 03:34 PM
LFS Chap 5 - gcc first make command errors antken Linux From Scratch 3 03-17-2003 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration