Re: [gentoo-user] Qt-creator, libQtcSsh and Botan - angst.....
> On 07 Feb 2016, at 08:48, Andrew Lowewrote: > > Hi all, >Has anyone managed to build the latest, V3.6, of Qt-creator? I'm > attempting to do so and am getting a problem related to libQtcSsh.so and > something called Botan. Reeading in more depth in the error, it appears > that it can't find basic_string, for example: > > * > > /var/tmp/portage/dev-qt/qt-creator-3.6.0/work/qt-creator-opensource-src-3.6.0/lib64/qtcreator/libQtcSsh.so: > undefined reference to > `Botan::User_Interface::User_Interface(std::__cxx11::basic_string std::char_traits, std::allocator > const&) 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 You can fix this by compiling qt-creator without out botan or upgrading dev-libs/botan to a version required by qt-creator. If you have the correct version of botan installed then it might be that the linker is unable to find libbotan.so Based on the error messages it is probably a version mismatch, because there is only one kind of undefined reference. -- -Matti
Re: [gentoo-user] Qt-creator, libQtcSsh and Botan - angst.....
On 02/07/16 17:18, Matti Nykyri wrote: >> On 07 Feb 2016, at 08:48, Andrew Lowewrote: >> >> Hi all, >>Has anyone managed to build the latest, V3.6, of Qt-creator? I'm >> attempting to do so and am getting a problem related to libQtcSsh.so and >> something called Botan. Reeading in more depth in the error, it appears >> that it can't find basic_string, for example: >> >> * >> >> /var/tmp/portage/dev-qt/qt-creator-3.6.0/work/qt-creator-opensource-src-3.6.0/lib64/qtcreator/libQtcSsh.so: >> undefined reference to >> `Botan::User_Interface::User_Interface(std::__cxx11::basic_string > std::char_traits, std::allocator > const&) > > 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 > > You can fix this by compiling qt-creator without out botan or upgrading > dev-libs/botan to a version required by qt-creator. > > If you have the correct version of botan installed then it might be that the > linker is unable to find libbotan.so > > Based on the error messages it is probably a version mismatch, because there > is only one kind of undefined reference. > I read a webpost that talked of qt-creator using it's own version of botan hence I didn't think it would be a linking error, that it would have the correct stuff "on board". A viewing of the ebuild shows that it has a USE_SYSTEM_BOTAN=1 so I reinstalled botan, even though I already had the latest version installed, and hey presto, it built. Thanks for the comments, Andrew
[gentoo-user] Qt-creator, libQtcSsh and Botan - angst.....
Hi all, Has anyone managed to build the latest, V3.6, of Qt-creator? I'm attempting to do so and am getting a problem related to libQtcSsh.so and something called Botan. Reeading in more depth in the error, it appears that it can't find basic_string, for example: * /var/tmp/portage/dev-qt/qt-creator-3.6.0/work/qt-creator-opensource-src-3.6.0/lib64/qtcreator/libQtcSsh.so: undefined reference to `Botan::User_Interface::User_Interface(std::__cxx11::basic_stringconst&) * There are about 15 errors of this type. I've found a mention of this on gmane for a distro called Alt Linux, but there is no remedy. Has anyone come across this error and managed to fix it before I spend lots of time tracking it down? Regards, Andrew