ibrewster / homebrew-avo

AVO related homebrew formulas
3 stars 2 forks source link

netcdf library install failure for avog2s #10

Closed liamtoney closed 2 years ago

liamtoney commented 2 years ago

Command:

brew install avog2s

Error:

==> Installing ibrewster/avo/avog2s dependency: ibrewster/avo/volcano-ash3d-metreader
==> autoconf
==> ./configure --prefix=/usr/local/Cellar/volcano-ash3d-metreader/0.4_4
==> make
Last 15 lines from /Users/ldtoney/Library/Logs/Homebrew/volcano-ash3d-metreader/03.make:
2022-10-07 18:11:27 +0000

make

/usr/local/opt/gcc/bin/gfortran -x f95-cpp-input -DUSENETCDF -DUSEGRIB -DUSEGRIB   -c MetReader.F90
/usr/local/opt/gcc/bin/gfortran -O3 -w -fno-math-errno -funsafe-math-optimizations -fno-trapping-math -fno-signaling-nans -fcx-limited-range -fno-rounding-math -fdefault-real-8  -L/usr/lib64 -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -L/usr/local/lib -I/usr/include -I/usr/lib64/gfortran/modules -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -I/usr/local/include -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -leccodes -leccodes_f90 -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -lhourssince -lprojection -c MetReader_GRIB_index.f90
/usr/local/opt/gcc/bin/gfortran -O3 -w -fno-math-errno -funsafe-math-optimizations -fno-trapping-math -fno-signaling-nans -fcx-limited-range -fno-rounding-math -fdefault-real-8  -L/usr/lib64 -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -L/usr/local/lib -I/usr/include -I/usr/lib64/gfortran/modules -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -I/usr/local/include -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -lnetcdf -lnetcdff -c tools/makegfsncml.f90
/usr/local/opt/gcc/bin/gfortran -O3 -w -fno-math-errno -funsafe-math-optimizations -fno-trapping-math -fno-signaling-nans -fcx-limited-range -fno-rounding-math -fdefault-real-8  makegfsncml.o  -L/usr/lib64 -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -L/usr/local/lib -I/usr/include -I/usr/lib64/gfortran/modules -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -I/usr/local/include -I/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/include -L/usr/local/Cellar/volcano-ash3d-metreader/0.4_4/lib -lnetcdf -lnetcdff -o tools/makegfsncml
ld: library not found for -lnetcdff
collect2: error: ld returned 1 exit status
make: *** [makegfsncml] Error 1
make: *** Waiting for unfinished jobs....

Missing dependency?

ibrewster commented 2 years ago

Looks like it. Specifically, the NetCDF library. I'll have to look into this.

liamtoney commented 2 years ago

Nice, install works now! Thanks.