[MacPorts] #68400: esmf @8.5.0: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libnetcdff.7.dylib'

MacPorts noreply at macports.org
Tue Oct 10 05:57:30 UTC 2023


#68400: esmf @8.5.0: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in
'/opt/local/lib/libnetcdff.7.dylib'
-------------------------+--------------------
  Reporter:  ekinakoglu  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  sonoma
      Port:  esmf ncarg  |
-------------------------+--------------------

Comment (by kencu):

 There is something wrong with the way the compilers PG works out the gcc
 version. I noticed it before and added some debugging code to the
 function, but it shows up here again in the build and is possibly related
 to why it is failing:

 {{{
 :debug:main Running callback compilers::add_gcc_rpath_support
 :debug:main compilers PG: GCC version reports being UNKNOWN to MacPorts
 :debug:main compilers PG: RPATH added to ldflags as GCC version is UNKNOWN
 :debug:main Finished running callback compilers::add_gcc_rpath_support
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68400#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list