Gentoo Archives: gentoo-user

From: Matti Nykyri <matti.nykyri@×××.fi>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Qt-creator, libQtcSsh and Botan - angst.....
Date: Sun, 07 Feb 2016 09:19:29
Message-Id: B1915F1A-4DEB-4830-801A-4C6210ADB19F@iki.fi
In Reply to: [gentoo-user] Qt-creator, libQtcSsh and Botan - angst..... by Andrew Lowe
1 > On 07 Feb 2016, at 08:48, Andrew Lowe <agl@×××××××.au> wrote:
2 >
3 > Hi all,
4 > Has anyone managed to build the latest, V3.6, of Qt-creator? I'm
5 > attempting to do so and am getting a problem related to libQtcSsh.so and
6 > something called Botan. Reeading in more depth in the error, it appears
7 > that it can't find basic_string, for example:
8 >
9 > *********************
10 >
11 > /var/tmp/portage/dev-qt/qt-creator-3.6.0/work/qt-creator-opensource-src-3.6.0/lib64/qtcreator/libQtcSsh.so:
12 > undefined reference to
13 > `Botan::User_Interface::User_Interface(std::__cxx11::basic_string<char,
14 > std::char_traits<char>, std::allocator<char> > const&)
15
16 Well this is a linker error. This means that you are linking without -lbotan flag or the installed version of libbotan.so is incompatible with qt-creator-3.6.0
17
18 You can fix this by compiling qt-creator without out botan or upgrading dev-libs/botan to a version required by qt-creator.
19
20 If you have the correct version of botan installed then it might be that the linker is unable to find libbotan.so
21
22 Based on the error messages it is probably a version mismatch, because there is only one kind of undefined reference.
23
24 --
25 -Matti

Replies

Subject Author
Re: [gentoo-user] Qt-creator, libQtcSsh and Botan - angst..... Andrew Lowe <agl@×××××××.au>