[MacPorts] #64800: xcrysden: Library not loaded: @rpath/libgfortran.5.dylib
MacPorts
noreply at macports.org
Fri Mar 11 14:50:18 UTC 2022
#64800: xcrysden: Library not loaded: @rpath/libgfortran.5.dylib
------------------------------+----------------------
Reporter: giovannicantele | Owner: dstrubbe
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: xcrysden |
------------------------------+----------------------
Comment (by kencu):
Replying to [comment:5 giovannicantele]:
> That means that libgcc-devel puts libgfortran.5.dylib in a non-standard
path (under libgcc under lib), that causes the issue. This is probably a
bug or an issue, in any case.
MacPorts installs gcc's libs in a supported {{{libdir}}} which is
{{{/opt/local/lib/libgccN}}}. Those are then symlinks to the actual
libraries installed in {{{/opt/local/lib/libgcc}}}.
This is a perfectly reasonable installation plan that was done for a good
reason, and has been like this for 15 years or so.
Recent changes to gcc-devel for arm did not properly support having gcc
libraries in their own set {{{libdir}}}, in particular manifest when using
@rpaths.
That is an upstream gcc bug that was hopefully fixed by the PR.
But now that fix needs to propagate down the chain, be verified to fix the
problem, and then everything that was ever built with gcc-devel needs to
be rebuilt so it will pick up the new rpath references (to gcc's own
libdir).
--
Ticket URL: <https://trac.macports.org/ticket/64800#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list