LinuxQuestions.org
Review your favorite Linux distribution.
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 05-13-2003, 04:52 PM   #1
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
Not sure what to do for "Locking in" Glibc


Hi All,

What do I have to do for "Locking in" Glibc?

The pdf does not say what directory to run this in.

I'm a little confused.

Thanks
 
Old 05-13-2003, 05:01 PM   #2
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Original Poster
Rep: Reputation: 15
OK,

cleaned up my script, looks like there was an error.

#!/bin/bash -x

BASE_DIR=$LFS_PACKAGES
BUILD_DIR=$BASE_DIR/binutils-build

cd $BUILD_DIR \
&& make -C ld install-data-local \
&& SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs \
&& cp ${SPECFILE} ./XX \
&& sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} \
&& unset SPECFILE \
&& rm -f ./XX
 
Old 05-13-2003, 05:03 PM   #3
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
If you plan to use the CVS book you really should subscribe to the lfs-dev mailinglist to stay abreast of all the latest happenings. I do not recommend using the CVS book unless you know what you are doing - CVS just isn't ready yet for the uninformed.

To answer your question: run that make command from within the binutils-build directory. If you look at the "make -C ld" part you should have recognized it from the binutils-pass1 installation.
 
Old 05-13-2003, 05:23 PM   #4
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Original Poster
Rep: Reputation: 15
If I do not use the CVS book, what should I use?

Thanks
 
Old 05-13-2003, 05:57 PM   #5
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Use a stable release book: Version 4.1

CVS is our development "play ground" where the new things go into. It's not guaranteed to always work either. It's in a high state of flux.
 
Old 05-13-2003, 10:48 PM   #6
frankietomatoes
Member
 
Registered: Oct 2002
Posts: 44

Original Poster
Rep: Reputation: 15
OK,

Thanks
 
  


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
"Locking in" Glibc (replace prob /lib/ld-linux.so.2 with /tools/lib/ld-linux.so.2 irfanali Linux From Scratch 11 06-29-2006 10:19 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
Mandrake 9.1, locking up on "finding module dependencies" Cider Linux - Software 0 08-26-2004 04:26 AM
samba "Can't initialise locking module - exiting" yoyoguy2 Fedora 3 03-18-2004 09:25 PM
What are "libc", "glibc"? correro Linux - General 4 03-15-2003 07:36 PM

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

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