USE_GCC doesn't set rpath
Shane Ambler
FreeBSD at ShaneWare.Biz
Tue Jan 21 23:31:27 UTC 2014
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.
More information about the freebsd-ports
mailing list