Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2025 16:23:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 284346] databases/evolution-data-server: linker fails (/lib/libgcc_s.so.1: version GCC_7.0.0 ... not found)
Message-ID:  <bug-284346-6497-LuRLnzqWxc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284346-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284346-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284346

--- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to John Hein from comment #2)
If you add --library-path=3D/usr/local/lib/gcc13 to the g-ir-scanner invoca=
tion,
then it succeeds.  That's not a very good fix (because it forces ports to b=
uild
with flags that require knowledge of gcc install directories because of
dependent libs that happen to be built with gcc).

I am wondering if this is a g-ir-scanner problem where it ignores RPATH for
libraries that it pulls in.  libjavascriptcoregtk-4.0.so.18 has
/usr/local/lib/gcc13 correctly recorded as the RPATH - which it does so
run-time linking can find the right libgcc_s.so.1 (i.e., the one in
/usr/local/lib/gcc13 instead of the one in /lib).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284346-6497-LuRLnzqWxc>