Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
Date: Fri, 27 Mar 2015 23:05:35
Message-Id: mf4nnd$8ee$1@ger.gmane.org
In Reply to: [gentoo-user] webkit-gtk-2.4.8 fails to compile by ddjones
On 03/27/2015 02:56 AM, ddjones wrote:
> I seem to be hitting this bug: > > https://bugs.gentoo.org/show_bug.cgi?id=513386 > > webkit-gtk fails: > > gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference > to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
I don't know if you understand the concepts discussed in that bug report, but this this is basic idea: You see that the undefined symbol includes the string "GLIBCXX". From this you can tell that the program uses the well-known c++ standard library, which happens to be installed separately by each version of gcc you have on your computer. The error you are seeing is caused by using a different version of gcc to compile webkit-gtk than you used to compile some other package that webkit-gtk depends on. The tedious but necessary fix is to find every package on your computer that needs libstdc++ and then recompile all of them with the same version of gcc. Yup, boring.

Replies

Subject Author
Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile ddjones <ddjones@××××××××××××.org>