Library Problem

Jim Secan james.secan at
Sun Jul 17 21:31:25 UTC 2022

I’m a gfortran user and by no stretch of the imagination a guru on how the gcc compilers are rigged up.  I just recently did a full update of my MacPorts codes, after which I get the following complaint whenever I try to run any codes compiled and linked prior to the update:

dyld: Library not loaded: @rpath/libgcc_s.1.1.dylib
  Referenced from: /opt/local/lib/libgcc/libgcc_s.1.dylib
  Reason: image not found
Trace/BPT trap

If I completely recompile and relink the program, everything works just fine.  So, is there anything short of recompiling every code I have (numbers in the many hundreds) that I can do to fix this?


Seattle, WA

More information about the macports-users mailing list