Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 05:53:31 GMT
From:      Yuri <yuri@tsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185902: Ports lang/gccNN are missing runpath (-Wl, -rpath), and cause conflicts with the base system
Message-ID:  <201401200553.s0K5rVNv094267@oldred.freebsd.org>
Resent-Message-ID: <201401200600.s0K600gN001405@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185902
>Category:       ports
>Synopsis:       Ports lang/gccNN are missing runpath (-Wl,-rpath), and cause conflicts with the base system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 06:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        9.2
>Organization:
n/a
>Environment:
>Description:
Recent system update introduced this failure:
$ qbittorrent
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/libtorrent-rasterbar.so.7 not found

System libstdc++.so.6 is picked up instead of the one from lang/gcc47

All lang/gccNN are missing runpath (-Wl,-rpath) to force their own shared libaries, opening the possibilities of such conflicts with the base system.

lang/gcc-aux is an example of how this should be done.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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