Visit Jeremy's Blog.
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 12-10-2005, 10:37 PM   #1
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Rep: Reputation: 15
libreadline...first one problem leads to another

Ok I decided to try doing LFS install today. I erased my SuSe linux, and erased the MBR. Booted the LFS live cd and started the book. So I get past the temporary system and into chapter 6. I get to a part where you have to build glibc. So I try to configure it, it says I'm missing libreadline. So I go back and trie reinstalling it. But now it says that gcc isn't in /tools/bin. So I try reinstalling gcc...and I got another can't find a lib error.

Should I start over, or just start from a cirtant point?

(I am assuming the problem is I was watching star wars wile I was installing it, so I'm sure I messed up somewhere. I'll probably just redo it in a week, during Christmas break)
Old 12-11-2005, 01:16 AM   #2
Jacky Quah
LQ Newbie
Registered: May 2005
Posts: 28

Rep: Reputation: 15
Weird, Readline doesn't need to be install in chapter 5.

I think when you compile chapter 5 you used non static link or incorrect library path when compile it. so some of the program that you compile in chapter 5 search for libreadline library from your livecd.

perhaps when you compile chapter 5,you missed a few parameter ?

Note: perhaps you need to carefull when compile binutils or adjust toolchain in chapter 5. so it's search in correct library path
and the PATH=/tools/bin:/bin:/usr/bin:/sbin:/usr/sbin
/tools/bin must first in search path.

Last edited by Jacky Quah; 12-11-2005 at 01:55 AM.
Old 12-11-2005, 11:44 AM   #3
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Original Poster
Rep: Reputation: 15
Hmmm now that I think about it, I do remember a couple of things. Firstly I didn't reconize the sideways ' so that thre me off, when I learned your suppost to replace that with something. And I didn't configure/make/make install binutils from /binutils-build.

Took me have 5 hours(with a few minor pauses) to just build the toolchain. But now I know what to expect, and since its going to take this long, I might as well wait for Christmas break. But this was a good learning experience! I am more prepared and know what to expect for next time. And I'll hopefulyl get it right next time.


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 dependency problem Hunter2 Linux - Software 3 05-05-2005 06:32 PM
qt upgrade leads to font vanishing Giacomo Linux - Software 0 04-30-2004 04:37 AM
UT2k4 Demo leads to problems for me garretjax Linux - Software 3 02-24-2004 11:32 PM
tar backup to network drive leads to memory problem SerfurJ Linux - General 2 02-15-2004 02:14 PM
Kernel recompile leads to console graphics problem CragStar Linux From Scratch 3 05-14-2003 06:23 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:43 PM.

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
Open Source Consulting | Domain Registration