Libgfortran.5.dylib not found after install

I have a problem with not found lib after installation with brew.

egorkuznecov@MacBook-Pro-Egor ~ % scilab          
dyld[12930]: Library not loaded: @rpath/libgfortran.5.dylib
  Referenced from: <D88B135B-CA8B-3AE5-93BB-7D8AF5518515> /Applications/scilab-2025.0.0.app/Contents/bin/scilab-bin
  Reason: tried: '/Applications/scilab-2025.0.0.app/Contents/share/scilab/../../lib/scilab//libgfortran.5.dylib' (no such file), '/libgfortran.5.dylib' (no such file), '/Applications/scilab-2025.0.0.app/Contents/lib/thirdparty/libgfortran.5.dylib' (duplicate LC_RPATH '@loader_path'), '/Applications/scilab-2025.0.0.app/Contents/thirdparty/jre/lib/libgfortran.5.dylib' (no such file), '/Applications/scilab-2025.0.0.app/Contents/lib/scilab/libgfortran.5.dylib' (no such file), '/Applications/scilab-2025.0.0.app/Contents/lib/thirdparty/libgfortran.5.dylib' (duplicate LC_RPATH '@loader_path'), '/Applications/scilab-2025.0.0.app/Contents/thirdparty/jre/lib/libgfortran.5.dylib' (no such file), '/Applications/scilab-2025.0.0.app/Contents/lib/scilab/libgfortran.5.dylib' (no such file), '/Applications/scilab-2025.0.0.app/Contents/lib/thirdparty/libgfortran.5.dylib' (duplicate LC_RPATH '@loader_path')
/opt/homebrew/bin/scilab: line 928: 12930 Abort trap: 6           "$SCILABBIN" "$@"

I tried to find easy way to install libgfortran.5.dylib like gcc@6 installation however it is not possible with brew now. The main reason is that lib old enough.

Hello,

See the updated thread about macOS 15.4 update: Scilab not starting after latest update MacBook

S.

1 Like