Re: Slackware updating glibc/glib...........


Subject: Re: Slackware updating glibc/glib...........
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Tue May 28 2002 - 13:58:37 AKDT


> Okay here is my question in which I think I have already answered myself.
>
> When software is compiled it compiled against a version of glibc and
> the kernel is and everything on top of it........ So if a fellow is
> running a box with glibc 2.2.3 for instance like slackware 8.0 and
> would like to upgrade the libraries to say 2.2.4/2.2.5 then it is
> not that easy to install a pkg over th top of it........
>
> Arthur, I understand that the kernel and all of the software is
compiled/linked
> against a whatever library is being used but how is one to upgrade
> the core, how does one replace the glibc pkg on slackware to
> recompile the software to the new library installed.........

Your safest bet is to create beforehand a statically-linked chroot
environment in your current set up (enough tools to bootstrap your system and
compile software). Boot the system into the static environment and start
compiling the new libs and basic system tools. Once you've recompiled
everything of a critical nature, you can copy that stuff over to the old
filesystem, and boot up. The methodology here is pretty much the same as one
would use for building your own distro. You can probably glean a lot of good
ideas from projects like that Linux-from-scratch, etc.

Not necessarily the easiest method, but, again, the safest. Personally, if I
have a spare drive I'd rather set up another drive in other box and just swap
the drives out when I have it set up the way I want. If you're keeping user
data on another drive, it's the easiest way to migrate.

--

--Arthur Corliss Bolverk's Lair -- http://arthur.corlissfamily.org/ Digital Mages -- http://www.digitalmages.com/ "Live Free or Die, the Only Way to Live" -- NH State Motto

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed May 29 2002 - 07:50:25 AKDT