Matthias Hanft wrote:
>>
> I *do* have another working Gentoo system (with the old glibc 2.27 and
> Apache 2.4.38 and all binutils and all that - everything is still fine
> there). Can I use this just to copy some files (libs) to the "sick"
> system? Just until I can re-emerge everything into a consistent state
> there?
I now have copied /lib and /usr/lib from the other system to the
"sick" system (and made a backup copy of the glibc-228 /lib and
/usr/lib, of course). Now it works "a little bit" more than
before, but it's still inconsistent, for example
# rndc reload
rndc: error while loading shared libraries: libisccfg.so.1203: cannot open
shared object file: No such file or directory
libisccfg.so seems to be a part of the bind package, but I still
cannot emerge anything because "C compiler not working". A simple
test:
$ gcc -o hello hello.c
In file included from hello.c:3:
/usr/include/stdio.h: In function 'main':
/usr/include/stdio.h:33:10: fatal error: stddef.h: No such file or directory
#include <stddef.h>
^~~~~~~~~~
compilation terminated.
stddef.h is in /usr/include/linux, but is it obviously not found.
Do I have *any* chance to get this system working again? Meanwhile,
I would find it great to get a working system even *without* Apache!
I have made a "quickpkg" out of glibc 2.28 before downgrading to
2.27. Can I just untar it and have my 2.28 libraries again (any
everything except Apache will run)? Or what's the best I can do?
(Without installing everything from scratch...)
-Matt