Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 23:07:50 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: libstdc++.so.6 in base 9.2 system collides with libstdc++.so.6 in gcc47
Message-ID:  <52DC4CB6.3070503@marino.st>
In-Reply-To: <52DC4B94.8050304@rawbw.com>
References:  <52DC4B94.8050304@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/19/2014 23:03, Yuri wrote:
> After the ports update my qbittorrent fails due to this collision:
> $ qbittorrent
> /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by
> /usr/local/lib/libtorrent-rasterbar.so.7 not found
> 
> I guess, all packages depending on gcc47 libs would likely fail the same
> way.
> 
> gcc probably forgot to bump so revision.
> 
> The workaround is to run with LD_LIBRARY_PATH=/usr/local/lib/gcc47
> But what is the general solution for this?


The gcc47 should be built with specs that automatically insert a runpath
(-Wl,-rpath,) of /usr/local/gcc47/ so that every binary and library
built by it knows where to look.

This is what lang/gcc-aux does.

Regards,
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DC4CB6.3070503>