1 |
On 09/10/14 04:57, Kerin Millar wrote: |
2 |
>On 10/09/2014 04:50, Joseph wrote: |
3 |
>> On 09/10/14 04:27, Kerin Millar wrote: |
4 |
>>> On 10/09/2014 04:21, Joseph wrote: |
5 |
>>>> On 09/10/14 03:59, Kerin Millar wrote: |
6 |
>>>>> On 09/09/2014 19:36, Joseph wrote: |
7 |
>>>> [snip] |
8 |
>>>> |
9 |
>>>>>> |
10 |
>>>>>> Running on my other system I get: |
11 |
>>>>>> equery b libstdc++.so.6 |
12 |
>>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4 |
13 |
>>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -> |
14 |
>>>>>> libstdc++.so.6.0.14) |
15 |
>>>>>> |
16 |
>>>>>> env-update - doesn't work either |
17 |
>>>>>> |
18 |
>>>>> |
19 |
>>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file |
20 |
>>>>> defining the appropriate paths for your current version of gcc. Here's |
21 |
>>>>> how it looks on my system: |
22 |
>>>>> |
23 |
>>>>> # cd /etc/ld.so.conf.d |
24 |
>>>>> # ls |
25 |
>>>>> 05binutils.conf 05gcc-x86_64-pc-linux-gnu.conf |
26 |
>>>>> # cat 05gcc-x86_64-pc-linux-gnu.conf |
27 |
>>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 |
28 |
>>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3 |
29 |
>>>>> |
30 |
>>>>> Once you have made any necessary changes, run ldconfig. |
31 |
>>>>> |
32 |
>>>>> --Kerin |
33 |
>>>> |
34 |
>>>> Thanks Kerin, for the pointer. |
35 |
>>>> I think I have a bigger problem, and don't know how to fix it. |
36 |
>>>> |
37 |
>>>> Yes, I have the same file /etc/ld.so.conf.d |
38 |
>>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf |
39 |
>>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 |
40 |
>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3 |
41 |
>>>> |
42 |
>>>> However, those directories are empty (only one file): |
43 |
>>>> # ls -al /usr/lib/ |
44 |
>>>> libbrcomplpr2.so |
45 |
>>> |
46 |
>>> Is /usr/lib an actual directory or a symlink? Assuming that you use a |
47 |
>>> stock amd64 (multilib) profile, it should be a symlink to lib64. If you |
48 |
>>> find that it is a directory and that you also have a lib64 directory, |
49 |
>>> try the commands below. You can skip the busybox and exit commands if |
50 |
>>> you are doing this in a chroot rather than on a live system. |
51 |
>>> |
52 |
>>> # busybox sh |
53 |
>>> # cd /usr/ |
54 |
>>> # mv lib lib.old |
55 |
>>> # ln -s lib64 lib |
56 |
>>> # exit |
57 |
>>> |
58 |
>>>> On my other working system this directory "/usr/lib/" contain about 2020 |
59 |
>>>> files. |
60 |
>>>> What had happened? |
61 |
>>>> After emerging some files and system I was running command: fstrim -v / |
62 |
>>>> (as the disk is SSD). |
63 |
>>>> Could it have something to do with the fact that these directories are |
64 |
>>>> empty? |
65 |
>>> |
66 |
>>> No. Using fstrim does not delete files. |
67 |
>>> |
68 |
>>> --Kerin |
69 |
>> |
70 |
>> Kerin you are a magician! THANK YOU!!! |
71 |
>> Yes, it worked. Everything is back to normal. |
72 |
>> |
73 |
>> I can still not comprehend what had happened :-/ why all of a sudden in |
74 |
>> the middle of compilation it all vanished. |
75 |
> |
76 |
>Were you doing anything outside of portage that may have had a hand in it? |
77 |
> |
78 |
>Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some |
79 |
>googling suggests to me that it is a library included in a proprietary |
80 |
>Brother printer driver package. You can use the file command to confirm |
81 |
>that it is a 32-bit library. |
82 |
> |
83 |
>--Kerin |
84 |
|
85 |
I was logged in over ssh in one terminal, compiling "xsane" |
86 |
and logged in, in another terminal and was installing brother printer driver (without emerge) manual installation. |
87 |
I followed my own instructions from: |
88 |
http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43 |
89 |
|
90 |
I run: |
91 |
tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / |
92 |
tar zxvf ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C / |
93 |
|
94 |
Could be that one of this script messed up the links. |
95 |
If so I don't know how could it happen. Looking though "history" these are the commands I run: |
96 |
|
97 |
305 tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C / |
98 |
306 tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C / |
99 |
307 cd /usr/local/Brother/cupswrapper |
100 |
308 mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak |
101 |
309 /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\ restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1 |
102 |
310 ls -al |
103 |
311 pwd |
104 |
312 ll |
105 |
313 ls -al |
106 |
314 chmod 755 cupswrapperHL5250DN-2.0.1 |
107 |
|
108 |
I just extracted the files with "tar..." |
109 |
|
110 |
-- |
111 |
Joseph |