[MacPorts] #70940: no LC_RPATH's found

MacPorts noreply at macports.org
Thu Sep 26 20:54:22 UTC 2024


#70940: no LC_RPATH's found
---------------------------+--------------------
 Reporter:  DanyPPage      |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:  f2py LC_RPATH  |       Port:  gcc14
---------------------------+--------------------
 I am using Sonoma 14.6.1 with XCode 16.0: I compile a fortran code with
 gfortran from gcc14 and then use f2py, with either python 3.11 or 3.12,
 when loading the package into jupyter
 ---------------------------------------------------------------------------
 import NSCool_Py_Nucl as NSCool_Py
 ---------------------------------------------------------------------------

 I get:

 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)
 Cell In[2], line 1
 ----> 1 import NSCool_Py_Nucl as NSCool_Py

 ImportError:
 dlopen(/Users/dany/Dropbox/Work/NStar/NSCool/NSCool_Py_Nucl.cpython-312-darwin.so,
 0x0002): Library not loaded: @rpath/libgfortran.5.dylib
   Referenced from: <2BE812AA-C23C-3EFE-A272-1273292C4F11>
 /Users/dany/Dropbox/Work/NStar/NSCool/NSCool_Py_Nucl.cpython-312-darwin.so
   Reason: no LC_RPATH's found
 ---------------------------------------------------------------------------

 How do i correct this !

-- 
Ticket URL: <https://trac.macports.org/ticket/70940>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list