"no LC_RPATH's found"

73 views
Skip to first unread message

David Ketcheson

unread,
Nov 29, 2024, 12:23:25 AM11/29/24
to claw-users
I've just installed Clawpack on a new macbook running Mac OS 14.7 and Python 3.13.0.  When I try to import clawpack.riemann I get

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/clawpack/riemann/euler_mapgrid_3D.cpython-313-darwin.so, 0x0002): Library not loaded: @rpath/libgfortran.5.dylib
  Referenced from: <6F197123-2815-376C-933D-175CF893AF57> /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/clawpack/riemann/euler_mapgrid_3D.cpython-313-darwin.so
  Reason: no LC_RPATH's found

It seems this may be related to a meson issue that hasn't been solved:


Has anyone else seen this problem? 

David

Kyle Mandli

unread,
Nov 29, 2024, 12:09:07 PM11/29/24
to claw-users
I have not seen anything on 15.1.1 and reinstalled my entire tool-chain when I switched from 14 (Sonoma) to 15 (Sequoia).  I did have to be extra careful with that install as python has switched to requiring virtual envs but I would be surprised that that would have lead to problems.

Just in case it is helpful:
Apple Silicon M1
MacOS 15.1.1 (24B91)
Apple clang version 16.0.0 (clang-1600.0.26.4)
GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0
Homebrew 4.4.6
Python 3.13.0
NumPy 2.1.2

Kyle
--
You received this message because you are subscribed to the Google Groups "claw-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/claw-users/5e3e169a-fa8c-4e54-b6be-5097393fa03dn%40googlegroups.com.

David Ketcheson

unread,
Dec 2, 2024, 1:40:37 AM12/2/24
to claw-users
I had installed the gfortran compiler from https://github.com/fxcoudert/gfortran-for-macOS/releases

I uninstalled that and installed using homebrew, and the problem went away.

Kyle Mandli

unread,
Dec 2, 2024, 10:18:09 AM12/2/24
to claw-users
Good to know.  Were you using the entire GCC toolchain or clang for the C compiler?

Kyle
Reply all
Reply to author
Forward
0 new messages