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 09-07-2005, 02:58 PM   #1
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,227

Rep: Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064
Puzzling glibc-build question...


I have encountered a build-problem in glibc that is quite puzzling and am discussing it in this forum over here.

Any ideas from the LFSers?
 
Old 09-07-2005, 10:39 PM   #2
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Re: Puzzling glibc-build question...

Quote:
Originally posted by sundialsvcs
I have encountered a build-problem in glibc that is quite puzzling and am discussing it in this forum over here.

Any ideas from the LFSers?
Try append "--disable-nls" to configure?
 
Old 09-18-2005, 09:30 AM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,227

Original Poster
Rep: Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064
To follow-up this problem ...

... after a failed attempt to install glibc, which stopped more or less halfway in the middle, the system was basically "borked." There was no getting out of this one.

So what I eventually did was to boot from the LiveCD, redo the compile, copy the files, chroot to the old root, and run ldconfig. Oh yes, and a bunch of other old stuff had to be replaced, too. engie:

And so it seems that gcc is highly dependent upon glibc and if one is broken the other is borked.

In retrospect, what I should have done is to put the new library into a subdirectory of /lib, add that entry to /etc/ld.so.conf, and thereby built myself a more-elegant way to back out of the situation, i.e. by removing the entry, nuking the directory and re-running ldconfig. But I didn't, and created quite a splatter.
 
  


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
Configuring glibc-build Brennan Linux From Scratch 1 09-26-2005 02:44 PM
Where can I post glibc build failure questions ? rekhakp Linux - Software 0 04-27-2005 04:37 PM
How do I build and install glibc 2.3.1 for SuSE 9.0? wfolk Linux - Newbie 5 09-02-2004 05:11 PM
debug build of glibc flok Slackware 2 07-13-2004 11:17 AM
Build Fedora/RH glibc from SRPMS ugenn Linux - Software 0 03-05-2004 09:27 PM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration