Skip to content

Error: Symbol 'nc_noquantize' at (1) has no IMPLICIT type #456

@anelito76

Description

@anelito76

I work in Ubuntu 24.04.1 LTS, 64bits. I try to install netcdf With these flags:

export DIR=$(pwd)
export PATH=$DIR/netcdf/bin:${PATH}
export LD_LIBRARY_PATH=$DIR/netcdf/lib:$DIR/grib2/lib
export JASPERLIB=$DIR/grib2/lib
export JASPERINC=$DIR/grib2/include
export NETCDF=$DIR/netcdf
export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS="-m64"
export F77=gfortran
export FFLAGS="-m64"
export LDFLAGS="-L$DIR/netcdf/lib -L$DIR/grib2/lib"
export CPPFLAGS="-I$DIR/netcdf/include -I$DIR/grib2/include"

and this code:

##############################Install NETCDF C Library############################
tar -xf netcdf-c-4.9.2.tar.gz
cd netcdf-c-4.9.2
./configure --prefix=$DIR/netcdf --enable-shared --enable-netcdf4 --disable-filter-testing --disable-dap --disable-hdf5
make -j 4
make install
cd ..
rm -r netcdf-c-4.9.2
##############################NetCDF fortran library############################
export LIBS="-lnetcdf -lz"
tar -xf netcdf-fortran-4.6.1.tar.gz
cd netcdf-fortran-4.6.1
./configure --enable-shared --prefix=$DIR/netcdf
make -j 4
make install
cd ..
rm -r netcdf-fortran-4.6.1

I got this error:

[config.log](https://github.com/user-attachments/files/17968242/config.log)

What should I do?

thanks in advance,
A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions