Date: Wed, 22 Jan 2014 10:01:18 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: Yuri <yuri@rawbw.com>, ports@FreeBSD.org Cc: Gerald Pfeifer <gerald@pfeifer.com> Subject: Re: USE_GCC doesn't set rpath Message-ID: <52DF0346.6000108@ShaneWare.Biz> In-Reply-To: <52DEE7EE.6010909@rawbw.com> References: <52DEE7EE.6010909@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22/01/2014 08:04, Yuri wrote: > Current port net-p2p/libtorrent-rasterbar has > USES=compiler:c++11-lib which in turn sets USE_GCC=4.7+ Maintainer of > lang/gccNN says that USE_GCC is supposed to automatically set rpath > to this particular gcc shared library. However, this doesn't happen, > and qbittorrent fails as a result on 9.2: $ qbittorrent > /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by > /usr/local/lib/libtorrent-rasterbar.so.7 not found > > It looks like this automatic setting of rpath is broken. I think you will find that qbittorrent will need to be built with the same gcc version as libtorrent-rasterbar. I believe qbittorrent is loading /usr/lib/libstdc++.so.6 then it loads libtorrent-rasterbar.so.7 which tries to load libstdc++ and it is given the already open copy which doesn't have GLIBCXX_3.4.15 that it needs to run.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DF0346.6000108>