Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] error while loading shared libraries: libstdc++.so.6:
Date: Tue, 02 Jan 2018 17:49:25
Message-Id: f4b5247f-f9de-f44b-b5ab-3949763478aa@sys-concept.com
In Reply to: [gentoo-user] error while loading shared libraries: libstdc++.so.6: by thelma@sys-concept.com
1 It seems to me all my links in: /usr/sbin are flashing RED:
2
3 archive-conf -> ../lib/python-exec/python-exec2
4 dispatch-conf -> ../lib/python-exec/python-exec2
5 emaint -> ../lib/python-exec/python-exec2
6 env-update -> ../lib/python-exec/python-exec2
7 fixpackages -> ../lib/python-exec/python-exec2
8 regenworld -> ../lib/python-exec/python-exec2
9
10 Though, python-exec2 exist:
11
12 locate python-exec2
13 /usr/bin/python-exec2c
14 /usr/lib64/python-exec/python-exec2
15
16 but my directory: ls -al /usr/lib/
17 is EMPTY
18
19 Do I need to start installing from scratch?
20
21 Joseph
22 On 01/02/2018 10:11 AM, thelma@×××××××××××.com wrote:
23 > I was installing some brother driver simply run:
24 > # tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C /
25 > ./
26 > ./usr/
27 > ./usr/local/
28 > ./usr/local/Brother/
29 > ./usr/local/Brother/lpd/
30 > ./usr/local/Brother/lpd/psconvert2
31 > ./usr/local/Brother/lpd/filterHL5370DW
32 > ./usr/local/Brother/lpd/rawtobr2
33 > ./usr/local/Brother/inf/
34 > ./usr/local/Brother/inf/setupPrintcap
35 > ./usr/local/Brother/inf/paperinf
36 > ./usr/local/Brother/inf/brHL5370DWfunc
37 > ./usr/local/Brother/inf/braddprinter
38 > ./usr/local/Brother/inf/brHL5370DWrc
39 > ./usr/lib/
40 > ./usr/lib/libbrcomplpr2.so
41 > ./usr/bin/
42 > ./usr/bin/brprintconflsr2
43 > ./var/
44 > ./var/spool/
45 > ./var/spool/lpd/
46 > ./var/spool/lpd/HL5370DW/
47 >
48 > # tar zxvf ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
49 > ./
50 > ./usr/
51 > ./usr/local/
52 > ./usr/local/Brother/
53 > ./usr/local/Brother/cupswrapper/
54 > ./usr/local/Brother/cupswrapper/brcupsconfig3
55 > ./usr/local/Brother/cupswrapper/cupswrapperHL5370DW-2.0.4
56 >
57 > Now, I can not run any emerge, eix etc command, I'm getting:
58 > eix: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
59 >
60 > bash: emerge: command not found
61 >
62 > However libstdc++ exists:
63 >
64 > locate libstdc++.so.6
65 > /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6
66 > /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6.0.21
67 > /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6
68 > /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6.0.21
69 > /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
70 > /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6.0.22
71 > /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6
72 > /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6.0.22
73 > /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6.0.21-gdb.py
74 > /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6.0.21-gdb.py
75 > /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6.0.22-gdb.py
76 > /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6.0.22-gdb.py
77 >
78 > lib -> lib64 (exist in "/")
79 >