Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
Date: Sat, 28 Mar 2015 10:42:28
Message-Id: 55168584.3060700@gmail.com
In Reply to: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile by walt
1 On 28/03/2015 01:05, walt wrote:
2 > On 03/27/2015 02:56 AM, ddjones wrote:
3 >> I seem to be hitting this bug:
4 >>
5 >> https://bugs.gentoo.org/show_bug.cgi?id=513386
6 >>
7 >> webkit-gtk fails:
8 >>
9 >> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference
10 >> to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
11 >
12 > I don't know if you understand the concepts discussed in that bug report, but
13 > this this is basic idea:
14 >
15 > You see that the undefined symbol includes the string "GLIBCXX". From this you
16 > can tell that the program uses the well-known c++ standard library, which happens
17 > to be installed separately by each version of gcc you have on your computer.
18 >
19 > The error you are seeing is caused by using a different version of gcc to compile
20 > webkit-gtk than you used to compile some other package that webkit-gtk depends on.
21 >
22 > The tedious but necessary fix is to find every package on your computer that needs
23 > libstdc++ and then recompile all of them with the same version of gcc. Yup, boring.
24
25
26 I ran into the same thing with one of my machines a few months back, and
27 I did try the approach you suggest. It got to be so tedious and boring
28 that I decided stuff it, gave up and did
29
30 emerge -e world
31
32 Took 12 hours or so. The payoff was that I could just walk away and let
33 the machine get on with it, without having to sit there and fiddle after
34 every package was built
35
36
37
38
39 --
40 Alan McKinnon
41 alan.mckinnon@×××××.com