[MacPorts] #64800: libgfortran.5.dylib problem

MacPorts noreply at macports.org
Fri Mar 11 11:35:47 UTC 2022


#64800: libgfortran.5.dylib problem
-----------------------------+----------------------
 Reporter:  giovannicantele  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  High             |  Milestone:
Component:  ports            |    Version:
 Keywords:                   |       Port:  libgcc11
-----------------------------+----------------------
 Dear all,

 I'm experiencing a sever issue with libgfortran, since I cannot find it in
 mi current MacPorts installation, nor I can install it.

 The library is referenced by XCrysDen (how is it possible that it was
 correctly installed by macports if there is a missing library?), but as I
 try to launch it, the following message shows up:

 {{{
 dyld[79368]: Library not loaded: @rpath/libgfortran.5.dylib
   Referenced from: /opt/local/lib/xcrysden-1.6.2/ftnunit
   Reason: tried: '/opt/local/lib/xcrysden-1.6.2/libgfortran.5.dylib' (no
 such file), '/opt/local/lib/libgfortran.5.dylib' (no such file),
 '/opt/local/lib/gcc-devel/gcc/aarch64-apple-
 darwin21/12.0.0/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-
 devel/gcc/aarch64-apple-darwin21/12.0.0/../../../libgfortran.5.dylib' (no
 such file), '/opt/local/lib/xcrysden-1.6.2/libgfortran.5.dylib' (no such
 file), '/opt/local/lib/libgfortran.5.dylib' (no such file),
 '/opt/local/lib/gcc-devel/gcc/aarch64-apple-
 darwin21/12.0.0/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-
 devel/gcc/aarch64-apple-darwin21/12.0.0/../../../libgfortran.5.dylib' (no
 such file), '/usr/local/lib/libgfortran.5.dylib' (no such file),
 '/usr/lib/libgfortran.5.dylib' (no such file)''''
 }}}

 Since I understand that there required package should be libgcc11, I also
 tried to install it but, unfortunately, this gives an error:

 {{{
 --->  Computing dependencies for libgcc11
 Error: Can't install libgcc11 because conflicting ports are active:
 libgcc-devel
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port libgcc11 failed
 }}}

 So, libgcc11 conflicts with libgcc-devel but, trying to uninstall libgcc-
 devel also gives problems:

 {{{
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break:
  fftw-3 @3.3.10_0
  OpenBLAS @0.3.20_0
  py39-numpy @1.22.3_0
  py39-scipy @1.8.0_0
  py310-numpy @1.22.3_0
  py310-scipy @1.8.0_0
  xcrysden @1.6.2_0
  gcc11 @11.2.0_1
 }}}

 It seems there is no way to fix the issue.

 Currently I'm running MacPorts 2.7.2 under macOS Monterey Version 12.2,
 hosted by a MacBook Pro, M1, 2020.

 Any hint would be greatly appreciated.

 I thank you in advance.

 Giovanni

-- 
Ticket URL: <https://trac.macports.org/ticket/64800>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list