Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cmake-3.18.5 build fails
Date: Fri, 12 Feb 2021 20:23:36
Message-Id: Q4LBWCUH.X3UZDYI2.X3RP6VCP@RHKYURYV.J4E34TLA.34LQELQL
In Reply to: [gentoo-user] cmake-3.18.5 build fails by Walter Dnes
1 On 2021.02.12 14:49, Walter Dnes wrote:
2 > 64-bit Gentoo on a new 12-core machine. The build fails in the
3 > compile phase. Switching makeopts from -j4 to -j1 didn't help.
4 > Build log is attached.
5 The error seems to be at linking:
6
7 /usr/lib/gcc/x86_64-pc-linux-gnu/7.5.0/../../../../x86_64-pc-linux-gnu/bin/ld:
8 /usr/lib64/libjsoncpp.so: undefined reference to
9 `std::__cxx11::basic_ostringstream<char, std::char_traits<char>,
10 std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
11
12 /usr/lib64/libjsoncpp.so belongs to dev-libs/jsoncpp. cmake depends
13 on >=dev-libs/jsoncpp-1.9.2-r2:0=
14
15 I have 1.9.4 installed. (1.9.3 is the only other one I see in
16 Portage.) Is it possible you have an older version, and the dep needs
17 to be updated?
18
19 Also, might it be related to gcc version? I'm currently using
20 10.2.0-r5 ~amd64.
21
22 Jack

Replies

Subject Author
Re: [gentoo-user] cmake-3.18.5 build fails David Haller <gentoo@×××××××.de>