public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: Failed to emerge xulrunner-1.9.2.4
       [not found] <AANLkTikhbXaWtJE9iWEJsgtTsLAXH2vr3RAQ_yTbyqdk@mail.gmail.com>
@ 2010-06-23 15:10 ` walt
  2010-06-24 11:05   ` Chen Huan
  0 siblings, 1 reply; 2+ messages in thread
From: walt @ 2010-06-23 15:10 UTC (permalink / raw
  To: gentoo-user

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 ...




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Re: Failed to emerge xulrunner-1.9.2.4
  2010-06-23 15:10 ` [gentoo-user] Re: Failed to emerge xulrunner-1.9.2.4 walt
@ 2010-06-24 11:05   ` Chen Huan
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Huan @ 2010-06-24 11:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]

thanks, it is the problem

2010/6/23 walt <w41ter@gmail.com>

> 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 ...
>
>
>

[-- Attachment #2: Type: text/html, Size: 2616 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-24 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTikhbXaWtJE9iWEJsgtTsLAXH2vr3RAQ_yTbyqdk@mail.gmail.com>
2010-06-23 15:10 ` [gentoo-user] Re: Failed to emerge xulrunner-1.9.2.4 walt
2010-06-24 11:05   ` Chen Huan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox