Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2016 08:12:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211889] gfortran fails to link programs against the correct libgcc
Message-ID:  <bug-211889-13-mZHf9dXoOH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211889-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211889-13@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=3D211889

--- Comment #4 from Jameson <vtjnash@gmail.com> ---
Right, (I had also tried with both those versions of gcc). I know about that
LD_LIBRARY_PATH workaround, I wanted to know whether it was possible to have
gfortran manage to build correctly on its own.
Could it search its own path (`/usr/local/lib/gcc6`) before `/lib`, or to h=
ide
libgcc_s.so from the default search path, or some similar such action (does
-rpath-link do this?). It seems pkg doesn't contain a version of gcc old en=
ough
to use with this library file, so I can't use that approach.

Some things that seemed to work:
  - adding `-rpath=3D/usr/local/lib/gcc48` to
/usr/local/lib/gcc48/libgfortran.spec
  - deleting `/lib/libgcc_s.so.1`

--=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-211889-13-mZHf9dXoOH>