Gentoo Archives: gentoo-user

From: Matthias Hanft <mh@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...
Date: Sat, 13 Apr 2019 19:35:01
Message-Id: 8dbf708e-22ff-d525-8cf8-647301436d61@hanft.de
In Reply to: Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc... by Matthias Hanft
1 Matthias Hanft wrote:
2 >>
3 > I *do* have another working Gentoo system (with the old glibc 2.27 and
4 > Apache 2.4.38 and all binutils and all that - everything is still fine
5 > there). Can I use this just to copy some files (libs) to the "sick"
6 > system? Just until I can re-emerge everything into a consistent state
7 > there?
8
9 I now have copied /lib and /usr/lib from the other system to the
10 "sick" system (and made a backup copy of the glibc-228 /lib and
11 /usr/lib, of course). Now it works "a little bit" more than
12 before, but it's still inconsistent, for example
13
14 # rndc reload
15 rndc: error while loading shared libraries: libisccfg.so.1203: cannot open shared object file: No such file or directory
16
17 libisccfg.so seems to be a part of the bind package, but I still
18 cannot emerge anything because "C compiler not working". A simple
19 test:
20
21 $ gcc -o hello hello.c
22 In file included from hello.c:3:
23 /usr/include/stdio.h: In function 'main':
24 /usr/include/stdio.h:33:10: fatal error: stddef.h: No such file or directory
25 #include <stddef.h>
26 ^~~~~~~~~~
27 compilation terminated.
28
29 stddef.h is in /usr/include/linux, but is it obviously not found.
30
31 Do I have *any* chance to get this system working again? Meanwhile,
32 I would find it great to get a working system even *without* Apache!
33
34 I have made a "quickpkg" out of glibc 2.28 before downgrading to
35 2.27. Can I just untar it and have my 2.28 libraries again (any
36 everything except Apache will run)? Or what's the best I can do?
37 (Without installing everything from scratch...)
38
39 -Matt