1 |
thanks, it is the problem |
2 |
|
3 |
2010/6/23 walt <w41ter@×××××.com> |
4 |
|
5 |
> On 06/22/2010 10:01 PM, Chen Huan wrote: |
6 |
> |
7 |
>> When I emerge xulrunner-1.9.2.4 and mozilla-firefox-3.6.4,xulrunner cannot |
8 |
>> be emerged, here is the error message: |
9 |
>> |
10 |
>> ./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not |
11 |
>> found (required by ./../../dist/bin/js) |
12 |
>> ./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not |
13 |
>> found (required by ./../../dist/bin/js) |
14 |
>> |
15 |
> |
16 |
> Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, |
17 |
>> |
18 |
> |
19 |
> This is a little confusing unless you've been through it before. I expect |
20 |
> that |
21 |
> portage has recently installed gcc-4.4.3 (or 4.4.4 on ~x86) so you now have |
22 |
> (at |
23 |
> least) two versions of gcc on your machine, but you are still using the |
24 |
> older |
25 |
> gcc-4.3.4. |
26 |
> |
27 |
> The point is that you now have (at least) two versions of libstdc++.so.6 |
28 |
> because |
29 |
> each version of gcc installs its own version of libstdc++. |
30 |
> |
31 |
> Somehow the xulrunner build is trying to use both versions of |
32 |
> libstdc++.so.6 |
33 |
> (I don't know why, but it probably involves .la files, as usual) so I |
34 |
> suggest |
35 |
> that you switch to the new gcc-4.4.3 (or 4.4.4) like this: |
36 |
> |
37 |
> #gcc-config --list-profiles |
38 |
> [1] i686-pc-linux-gnu-4.3.4 |
39 |
> [2] i686-pc-linux-gnu-4.4.3 * <----- (I'm already using the newer |
40 |
> version) |
41 |
> |
42 |
> #gcc-config 1 |
43 |
> * Switching native-compiler to i686-pc-linux-gnu-4.3.4 ... |
44 |
> |
45 |
> #gcc-config 2 |
46 |
> * Switching native-compiler to i686-pc-linux-gnu-4.4.3 ... |
47 |
> |
48 |
> After you switch, you probably should run |
49 |
> #fix_libtool_files.sh 4.3.4 |
50 |
> * Scanning libtool files for hardcoded gcc library paths... |
51 |
> cat: ld.so.conf.d/*.conf: No such file or directory |
52 |
> * [1/5] Scanning /lib ... |
53 |
> * [2/5] Scanning /usr/lib ... |
54 |
> * [3/5] Scanning /usr/games/lib ... |
55 |
> * [4/5] Scanning /usr/i686-pc-linux-gnu/lib ... |
56 |
> * [5/5] Scanning /usr/local/lib ... |
57 |
> |
58 |
> |
59 |
> |