[Bug 284346] databases/evolution-data-server: linker fails (/lib/libgcc_s.so.1: version GCC_7.0.0 ... not found)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jan 2025 16:23:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284346

--- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to John Hein from comment #2)
If you add --library-path=/usr/local/lib/gcc13 to the g-ir-scanner invocation,
then it succeeds.  That's not a very good fix (because it forces ports to build
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).

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