* installing *source* package ‘ncdf4’ ...
** package ‘ncdf4’ successfully unpacked and MD5 sums checked
** using staged installation
configure.ac: starting
checking for nc-config... yes
Using nc-config: nc-config
Output of nc-config --all:

This netCDF 4.8.1 has been built with the following features: 

  --cc            -> gcc
  --cflags        -> -I/opt/R/x86_64/include -I/opt/R/x86_64/include
  --libs          -> -L/opt/R/x86_64/lib -L/opt/R/x86_64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/x86_64/lib -lsz
  --static        -> -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/x86_64/lib -lsz

  --has-c++       -> no
  --cxx           -> 

  --has-c++4      -> no
  --cxx4          -> 

  --has-fortran   -> no
  --has-dap       -> yes
  --has-dap2      -> yes
  --has-dap4      -> yes
  --has-nc2       -> yes
  --has-nc4       -> yes
  --has-hdf5      -> yes
  --has-hdf4      -> no
  --has-logging   -> no
  --has-pnetcdf   -> no
  --has-szlib     -> yes
  --has-cdf5      -> yes
  --has-parallel4 -> no
  --has-parallel  -> no
  --has-nczarr    -> yes

  --prefix        -> /opt/R/x86_64
  --includedir    -> /opt/R/x86_64/include
  --libdir        -> /opt/R/x86_64/lib
  --version       -> netCDF 4.8.1

---
netcdf.m4: about to set rpath, here is source string: >-L/opt/R/x86_64/lib -L/opt/R/x86_64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/x86_64/lib -lsz<
netcdf.m4: final rpath:   -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib
Netcdf library version: netCDF 4.8.1
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: gcc
configure: creating ./config.status
config.status: creating src/Makevars
 
**********************  Results of ncdf4 package configure *******************
 
netCDF v4 CPP flags      = -I/opt/R/x86_64/include -I/opt/R/x86_64/include
netCDF v4 LD flags       =   -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -L/opt/R/x86_64/lib -L/opt/R/x86_64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/x86_64/lib -lsz -L/opt/R/x86_64/lib
netCDF v4 runtime path   =   -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib
 
netCDF C compiler used   = gcc
R      C compiler used   = clang -arch x86_64 -falign-functions=64 -Wall -g -O2
 
******************************************************************************
 
checking whether we are using the GNU C compiler... no
checking whether clang -arch x86_64 accepts -g... no
checking for clang -arch x86_64 option to accept ISO C89... unsupported
netcdf cc arg1: gcc  R cc arg1: clang R_IS_GCC: 0 R_IS_CLANG: 1 NETCDF_IS_GCC: 1 NETCDF_IS_CLANG: 0  emit_warning: 0
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ncdf.c -o ncdf.o
clang -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o ncdf4.so ncdf.o -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -Wl,-rpath,/opt/R/x86_64/lib -L/opt/R/x86_64/lib -L/opt/R/x86_64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/x86_64/lib -lsz -L/opt/R/x86_64/lib -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/ncdf4.Rcheck/00LOCK-ncdf4/00new/ncdf4/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ncdf4)