Welcome to the most active Linux Forum on the web.
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-08-2004, 02:42 AM   #1
LQ Newbie
Registered: Dec 2004
Location: Ukraine
Distribution: SuSE 9.1
Posts: 9

Rep: Reputation: 0
Safe glibc replacing with a newer one

I want to completely replace old glibc with newer one. To do this more safely, I decided to put new glibc into /usr/local for a first time, build all core packages using it and then... change prefix for glibc to /usr, backup old binaries, libs and do a "make install" for each package and glibc itself.
It's a good practice?
Old 12-08-2004, 10:20 AM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"It's a good practice?"

You can make it work. But you will have to do a lot more work to install any packages with glibc in an unusual location. You probably will not be able to install any SuSE rpms and anything that you install in the future you will have to compile yourself and you will have to change the ./configure files to point to the new glibc location.

Steve Stites
Old 12-09-2004, 03:14 AM   #3
LQ Newbie
Registered: Dec 2004
Location: Ukraine
Distribution: SuSE 9.1
Posts: 9

Original Poster
Rep: Reputation: 0
No, I just want to keep safe older glibc libraries before all "core" binaries, such as grep, find, ls will be compiled and installed. Then I want to remove older glibc at all and install new to common location, i.e. into /usr. I don't want to use any rpm's - my general goal is to build _all_ system from sources.

Last edited by whiteunicorn; 12-09-2004 at 06:53 AM.
Old 12-10-2004, 01:20 PM   #4
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Sounds like madness to me. Why don't you just rebuild Linux From Scratch?
Old 12-13-2004, 03:41 AM   #5
LQ Newbie
Registered: Dec 2004
Location: Ukraine
Distribution: SuSE 9.1
Posts: 9

Original Poster
Rep: Reputation: 0
You're right Even don't know how such things are pull up in my brain (
Old 12-21-2004, 04:07 PM   #6
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
its simple, with linux your generally free to do whatever random thoughts come to your mind..unlike some other systems..!


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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Replacing KDE with newer version elitecodex Mandriva 3 03-02-2005 05:37 AM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
Newer version of glibc means i cant install gcc coop Red Hat 0 09-21-2003 01:40 AM
installing a newer glibc albean Linux - Newbie 2 11-13-2002 03:12 PM

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