Opened 13 hours ago

Last modified 12 hours ago

#70940 new defect

gcc14: no LC_RPATH's found — at Version 1

Reported by: DanyPPage Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gcc14

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 !

Change History (1)

comment:1 Changed 12 hours ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: f2py LC_RPATH removed
Summary: no LC_RPATH's foundgcc14: no LC_RPATH's found
Note: See TracTickets for help on using tickets.