LinuxQuestions.org
Help answer threads with 0 replies.
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-2004, 05:44 AM   #1
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Something terribly went wrong with install of lfs.. near chp.5


well at the point in chp 5 in the book with whole page that says caution ... etc.... pointless going further if this fails... well it failed.

doing the following:
Code:
 echo 'main(){}' > dummy.c                            
   gcc dummy.c                                                           
    readelf -l a.out | grep ': /tools'
gives no output.. doin the same but without the | grep part shows that what is supposed to say [Requesting program interpreter: /tools/lib/ld-linux.so.2] is showing [Requesting program interpreter: /lib/ld-linux.so.2] instead.. I manually went through the specs file and it has /tools/ before the only occurence of /lib/ld-linux.so.2. I have not had one error or even warning (that ive noticed) so far during the first phase. The only deviation from the book is that I used kernel 2.4.24 stead of 2.4.22.
At this point im kinda out of ideas as to what could have went wrong and am open to any suggestions.
Oh and on my host machine (slackware - current kernel 2.6.3) I have in /lib directory ld-2.3.2.so and ld-linux.so.2. I assume im using the ld-linux.so.2 or is it suppose to be ld-2.3.2.so..???
 
Old 03-12-2004, 06:21 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
ok.. i tried to get back to the specs file and while doin doing ls in /tools/lib as a diff user than lfs I got this error
ls: relocation error: libc.so.6: symbol __libc_stack_end, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference

Should I just whipe what I got and restart??... I made coppies off the all the source files I dl... . . kinda glad I did now..

* EDIT * I can do ls in this directory from the lfs user and root. This suppose to be like this for now??

Last edited by Zero-0-Effect; 03-12-2004 at 06:25 AM.
 
Old 03-12-2004, 06:45 AM   #3
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Well after much goin over and over what I did for some reason or another I did whereis gcc with lfs.. amazed to see that /usr/bin/gcc showed up stead of /tools/usr/bin/gcc... .... I do not have any errors in my compilations thankfully..
Seem this is the problem.. after using the newly compiled gcc everything worked just as it should have.
I guess I must of mistyped something when setting the paths of lfs. ... Im glad I didnt resort to starting over... lol.....ehhh
 
  


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
computer terribly slow Atmchicago Linux - Hardware 2 08-02-2005 12:38 AM
FreeBSD works but it's terribly boring. Mr. Hill *BSD 11 03-13-2005 03:36 PM
FC running terribly slowly Mortamer Fedora 9 09-06-2004 11:34 PM
LFS: gcc from wrong location??? 7.e.Q Linux From Scratch 0 07-08-2004 02:55 AM
super chp in Mplayer subservant Linux - Software 8 02-20-2003 02:34 AM

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

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