cheesedanishboy.
I am having the same or similar issue. I am not an expert whatsoever so I will be as descriptive as possible.
I got a new mac M2 and I installed XCODDE, XCODE command tools, and installed gfortran using homebrew.
I compailed my code and I ran it and I got the following
dyld[3244]: dyld cache '(null)' not loaded: syscall to map cache into shared region failed
dyld[3244]: Library not loaded: /usr/lib/libSystem.B.dylib
Referenced from: /Users/gamalakabani/Applications/TALYS_CODE/talys/bin/talys
Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache), '/usr/local/lib/libSystem.B.dylib' (no such file)
./verify: line 12: 3244 Abort trap: 6 $talys < talys.inp > talys.out
I have been looking for the location of libSystem.B.dylib and learned that the new macs are "different."
I reinstalled XCODE, command tools, gfortran, etc. to no avail.
I just want to fix this issue using laymans terms.
Any help will be appreciated.
Thanks
Topic:
Developer Tools & Services
SubTopic:
General
Tags: