[MacPorts] #63115: gcc11: dyld: Library not loaded: @rpath/libgfortran.5.dylib

MacPorts noreply at macports.org
Wed Jul 13 21:14:24 UTC 2022


#63115: gcc11: dyld: Library not loaded: @rpath/libgfortran.5.dylib
-----------------------+----------------------
  Reporter:  diekhans  |      Owner:  kjellpk
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  bigsur
      Port:  gcc11     |
-----------------------+----------------------

Comment (by cmstuber):

 I'm on arm64 and seeing this issue, I believe, since the portfile change
 in the last handful of days.  I'm pretty sure it was working last week for
 me but can't prove it.  After uninstalling and re-installing of all my
 ports I get this running a simple gfortran11 test.  I then tried building
 from source and got the same error, I also went and installed the previous
 commit and got the same error.

 gcc12 is now installed (and working), which wasn't the case last week when
 I believe gcc11 was working properly.


 {{{
 dyld: Library not loaded: @rpath/libgfortran.5.dylib

 macports_test # otool -L /opt/local/lib/libgcc/libgfortran.5.dylib
 /opt/local/lib/libgcc/libgfortran.5.dylib:
         @rpath/libgfortran.5.dylib (compatibility version 6.0.0, current
 version 6.0.0)
         @rpath/libquadmath.0.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         @rpath/libgcc_s.1.1.dylib (compatibility version 1.0.0, current
 version 1.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1292.100.5)
 }}}


 Any work around or other insight would be extremely helpful.

-- 
Ticket URL: <https://trac.macports.org/ticket/63115#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list