Hi, has anyone got any hints for glibc? I compiled
/Programs/Glibc/2.5.1 but which step should i do next?
(Ideally this should be expanded… i have static versions of tar, bzip, bash, coreutils, binutils, make, but if i symlink brutally then ncurses has some links, so I probably need to do something differently.)
I was in an even worse situation, since I was using a dynamic version of those
programs. I totally trashed my system: every single program would segfault, and
then the kernel started to panic at boot time. But I’ve found a solution which
can be used either to fix the above ailment, or to cleanly install a new
Boot using the live-CD.
Mount your root partition to
mount /dev/hda6 /Mount/Media
Install the version of
Glibcyou want. Note that the
-ris essential, otherwise your
/Systems/Index/binlinks will point to subdirectories of
/Mount/Media, which won’t be mounted anymore after you reboot.
goboPrefix="/Mount/Media" SymlinkProgram -r Glibc 2.5.1
Relink against the new
Glibc. If you forget this step, all non statically-linked programs will segfault. If your boot process involves any (which it probably does), you won’t even be able to reboot!
chroot /Mount/Media ldconfig -v
To make this relatively painless, make sure to compile
Glibc with using this
Compile -l no Glibc
as it will stop
Compile from symlinking
Glibc after a successful compile and