On 06/22/2010 10:01 PM, Chen Huan wrote:
When I emerge xulrunner-1.9.2.4 and mozilla-firefox-3.6.4,xulrunner cannot be 
emerged, here is the error message:

./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found 
(required by ./../../dist/bin/js)
./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found 
(required by ./../../dist/bin/js)

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4,

This is a little confusing unless you've been through it before.  I expect that
portage has recently installed gcc-4.4.3 (or 4.4.4 on ~x86) so you now have (at
least) two versions of gcc on your machine, but you are still using the older
gcc-4.3.4.

The point is that you now have (at least) two versions of libstdc++.so.6 because
each version of gcc installs its own version of libstdc++.

Somehow the xulrunner build is trying to use both versions of libstdc++.so.6
(I don't know why, but it probably involves .la files, as usual) so I suggest
that you switch to the new gcc-4.4.3 (or 4.4.4) like this:

#gcc-config --list-profiles
[1] i686-pc-linux-gnu-4.3.4
[2] i686-pc-linux-gnu-4.4.3 *    <----- (I'm already using the newer version)

#gcc-config 1
 * Switching native-compiler to i686-pc-linux-gnu-4.3.4 ...

#gcc-config 2
 * Switching native-compiler to i686-pc-linux-gnu-4.4.3 ...

After you switch, you probably should run
#fix_libtool_files.sh 4.3.4
 * Scanning libtool files for hardcoded gcc library paths...
cat: ld.so.conf.d/*.conf: No such file or directory
 *   [1/5] Scanning /lib ...
 *   [2/5] Scanning /usr/lib ...
 *   [3/5] Scanning /usr/games/lib ...
 *   [4/5] Scanning /usr/i686-pc-linux-gnu/lib ...
 *   [5/5] Scanning /usr/local/lib ...


Reply via email to