Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No LC_RPATH's found" #67

Open
ketch opened this issue Nov 29, 2024 · 0 comments
Open

"No LC_RPATH's found" #67

ketch opened this issue Nov 29, 2024 · 0 comments

Comments

@ketch
Copy link

ketch commented Nov 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant