Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 01-15-2005, 01:39 PM   #1
LQ Newbie
Registered: Nov 2001
Posts: 29

Rep: Reputation: 15
6.12. Re-adjusting the Toolchain

I get this error"

root:/sources/binutils-2.15/build# sed -i 's@ /tools/lib/ /lib/' \
> `gcc --print-file specs`
root:/sources/binutils-2.15/build# echo 'main(){}' > dummy.c
root:/sources/binutils-2.15/build# cc dummy.c
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: error while loading shared libraries: cannot open shared object file: No such file or directory
collect2: ld returned 127 exit status

any solutions??
Old 01-15-2005, 06:40 PM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
must of linked against libbfd from the host. At this point, I would (keep in mind this is just my opinion) just install libbfd on your LFS.
Old 01-16-2005, 01:50 PM   #3
LQ Newbie
Registered: Nov 2001
Posts: 29

Original Poster
Rep: Reputation: 15
Well I went back and tried reinstalling binutils pass 2 as user lfs and
came back to this step and it worked.

no errors.

thanks though for your reply. I did the above before I checked back here.



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
5.7. Adjusting the Toolchain - sanity issue... yanger Linux From Scratch 2 11-12-2008 04:52 AM
Possible Error in Book -- Adjusting Toolchain suma17 Linux From Scratch 9 10-13-2005 04:06 AM
Held on 5.9. Adjusting the Toolchain satimis Linux From Scratch 2 06-30-2005 06:36 AM
LFS 6 ch5.9 adjusting the toolchain failed sanity check totty79 Linux From Scratch 1 03-21-2005 02:58 PM
5.9. Adjusting the Toolchain - Error Spudds Linux From Scratch 6 02-23-2005 09:22 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:36 AM.

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