Skip to content

"No LC_RPATH's found" #67

@ketch

Description

@ketch

I'm running Mac OS Sonoma and installed from this link: https://github.com/fxcoudert/gfortran-for-macOS/releases/download/14.2-sonoma/gfortran-ARM-14.2-Sonoma.dmg

When I try to import a Python package that was compiled using gfortran (via meson), I get

ImportError: dlopen(/Users/ketch/Research/Software/clawpack/build/cp313/riemann/riemann/euler_mapgrid_3D.cpython-313-darwin.so, 0x0002): Library not loaded: @rpath/libgfortran.5.dylib
  Referenced from: <905FAD50-3267-33BA-B221-7ACF6971A96D> /Users/ketch/Research/Software/clawpack/build/cp313/riemann/riemann/euler_mapgrid_3D.cpython-313-darwin.so
  Reason: no LC_RPATH's found

The file libgfortran.5.dylib is in /usr/local/gfortran but somehow this path isn't being set properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions