Latest LQ Deal: Linux Power User Bundle
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 06-19-2004, 12:04 PM   #1
LQ Newbie
Registered: Sep 2003
Location: ind
Distribution: slackware, redhat
Posts: 3

Rep: Reputation: 0
Stuck on chapter 5 when building Tcl-8.4.6 For LFS-5.1

My host is mdk.10, with kernel 2.6.3-7-mdk.

I found this error when extracting the tcl8.4.6-src.tar.gz

$ tar zxvf tcl8.4.6-src.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Also i got this error when "Adjusting the toolchain" after the Glibc-2.3.3-lfs-5.1 installation :

lfs:~$ echo 'main(){}' > dummy.c
lfs:~$ cc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
lfs:~$ readelf -l a.out | grep ': /tools'
readelf: Error: 'a.out': No such file

Any help is appreciated. So i may continue my first-LFS building.
Old 06-19-2004, 04:45 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
"ld: cannot find -lc" FAQ
Old 06-20-2004, 04:31 AM   #3
LQ Newbie
Registered: Sep 2003
Location: ind
Distribution: slackware, redhat
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, Andrew, thanks for pointing me to the faq. I almost forget about this file. I will check it later when i am home, because at this moment i am in office.


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 6 Chapter 6.3 chroot error gatblast45 Linux From Scratch 8 01-01-2008 04:12 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
chapter 6.3 of LFS 6.1 Stamp Linux From Scratch 2 07-22-2005 08:10 AM
Chapter 5.24 Gettext-0.14.1, Stuck here! wooster Linux From Scratch 2 01-14-2005 10:14 AM
LFS 5.0 Chapter 5 cuco76 Linux From Scratch 1 11-23-2003 11:28 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:02 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