[MacPorts] #62856: OpenBLAS dyld error on Big Sur M1

MacPorts noreply at macports.org
Mon May 10 23:14:20 UTC 2021


#62856: OpenBLAS dyld error on Big Sur M1
----------------------+----------------------
 Reporter:  diekhans  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  OpenBLAS
----------------------+----------------------
 {{{
 port install OpenBLAS +native
 }}}


 gets error: "Library not loaded: @rpath/libgfortran.5.dylib"

 when building OpenBLAS on Big Sur M1, however the file is there

 {{{
 /opt/local/lib/gcc-devel/libgfortran.5.dylib: Mach-O 64-bit dynamically
 linked shared library arm64
 /opt/local/lib/libgcc/libgfortran.5.dylib:    Mach-O 64-bit dynamically
 linked shared library arm64
 /opt/local/lib/libgfortran.5.dylib:           Mach-O 64-bit dynamically
 linked shared library arm64
 /opt/local/lib/gcc10/libgfortran.5.dylib:     Mach-O 64-bit dynamically
 linked shared library arm64

 }}}

 {{{
 :info:build make[1]: *** [level1] Abort trap: 6
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build dyld: Library not loaded: @rpath/libgfortran.5.dylib
 :info:build   Referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work
 /xianyi-OpenBLAS-904f9a2/test/./sblat2
 :info:build   Reason: image not found
 :info:build /bin/sh: line 1:  4444 Abort trap: 6
 OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat2 < ./sblat2.dat

 }}}

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


More information about the macports-tickets mailing list