[MacPorts] #62678: netcdf 4.8.0: update fails after libstdc++ headers not found

MacPorts noreply at macports.org
Sat Apr 24 02:11:51 UTC 2021


#62678: netcdf 4.8.0: update fails after libstdc++ headers not found
---------------------------+----------------------
  Reporter:  thiagoveloso  |      Owner:  tenomoto
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:
      Port:  netcdf        |
---------------------------+----------------------

Comment (by EJFielding):

 I went ahead and uninstalled my old `openmpi-default` port, and ran
 `install openmpi`. It then installed the `gcc10` and `openmpi-default` as
 dependencies, so I got a new version of openmpi-default. It also had this
 note at the end:
 {{{
   openmpi-default has the following notes:
     The mpicc wrapper (and friends) are installed as:

       /opt/local/bin/mpicc-openmpi-mp (likewise mpicxx, ...)

     To make openmpi-default's wrappers the default (what you get when
     you execute 'mpicc' etc.) please run:

       sudo port select --set mpi openmpi-mp-fortran
 }}}

 After running the `port select --set mpi openmpi-mp-fortran` command, I
 was able to build `netcdf` with no problems on the Mac where it failed
 before. Maybe this is a relatively new requirement and people like me that
 have not installed a new `openmpi-default` have not done this important
 step.

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


More information about the macports-tickets mailing list