1 |
Am Tue, 02 Jan 2018 10:11:24 -0700 schrieb thelma: |
2 |
|
3 |
> I was installing some brother driver simply run: |
4 |
|
5 |
Don't do this... You should really not "install" software with tar. |
6 |
|
7 |
You're just unpacking an archive, overwriting everything that |
8 |
might be in its way. |
9 |
|
10 |
|
11 |
> # tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / |
12 |
> ./ |
13 |
> ./usr/ |
14 |
> ./usr/local/ |
15 |
> ./usr/local/Brother/ |
16 |
> ./usr/local/Brother/lpd/ |
17 |
> ./usr/local/Brother/lpd/psconvert2 |
18 |
> ./usr/local/Brother/lpd/filterHL5370DW |
19 |
> ./usr/local/Brother/lpd/rawtobr2 |
20 |
> ./usr/local/Brother/inf/ |
21 |
> ./usr/local/Brother/inf/setupPrintcap |
22 |
> ./usr/local/Brother/inf/paperinf |
23 |
> ./usr/local/Brother/inf/brHL5370DWfunc |
24 |
> ./usr/local/Brother/inf/braddprinter |
25 |
> ./usr/local/Brother/inf/brHL5370DWrc |
26 |
> ./usr/lib/ |
27 |
^^^^^^^^^^ |
28 |
This one replace the /usr/lib symlink with an empty directory. |
29 |
|
30 |
> ./usr/lib/libbrcomplpr2.so |
31 |
|
32 |
Move this file to lib64 instead. |
33 |
|
34 |
Now: |
35 |
|
36 |
# rmdir /usr/lib && ln -s lib64 /usr/lib |
37 |
|
38 |
> ./usr/bin/ |
39 |
> ./usr/bin/brprintconflsr2 |
40 |
> ./var/ |
41 |
> ./var/spool/ |
42 |
> ./var/spool/lpd/ |
43 |
> ./var/spool/lpd/HL5370DW/ |
44 |
> |
45 |
> # tar zxvf ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C / |
46 |
> ./ |
47 |
> ./usr/ |
48 |
> ./usr/local/ |
49 |
> ./usr/local/Brother/ |
50 |
> ./usr/local/Brother/cupswrapper/ |
51 |
> ./usr/local/Brother/cupswrapper/brcupsconfig3 |
52 |
> ./usr/local/Brother/cupswrapper/cupswrapperHL5370DW-2.0.4 |
53 |
> |
54 |
> Now, I can not run any emerge, eix etc command, I'm getting: |
55 |
> eix: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory |
56 |
> |
57 |
> bash: emerge: command not found |
58 |
> |
59 |
> However libstdc++ exists: |
60 |
> |
61 |
> locate libstdc++.so.6 |
62 |
|
63 |
Locate doesn't necessarily tell you that... It just tells you |
64 |
that the file existed when the locate db was built (usually |
65 |
by a cronjob at night). |
66 |
|
67 |
See "man locate". |
68 |
|
69 |
|
70 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6 |
71 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6.0.21 |
72 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6 |
73 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6.0.21 |
74 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 |
75 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6.0.22 |
76 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6 |
77 |
> /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6.0.22 |
78 |
> /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6.0.21-gdb.py |
79 |
> /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/32/libstdc++.so.6.0.21-gdb.py |
80 |
> /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6.0.22-gdb.py |
81 |
> /usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/32/libstdc++.so.6.0.22-gdb.py |
82 |
> |
83 |
> lib -> lib64 (exist in "/") |
84 |
|
85 |
But no longer in /usr due to your brute force "installation". |
86 |
|
87 |
|
88 |
-- |
89 |
Regards, |
90 |
Kai |
91 |
|
92 |
Replies to list-only preferred. |