Project

General

Profile

Install CDO 1.7.2

Added by Guilherme Martins over 8 years ago

Hi users,

I'm trying to install the cdo1.7.2 in my machine (64bits - Lubuntu), but I receive the error below:

checking for library containing nc_open... no
configure: error: Could not link to NetCDF library
configure: error: ./configure failed for libcdi

I have netCDF installed (/usr/local/ => bin, lib and include)

And I use the line below to install it:

sudo ./configure --with-netcdf=/usr/local/ --with-jasper=/usr/local/ --with-hdf5=/usr/local/ --with-grib_api=/usr/local/ --with-proj=/usr/local/ --with-jpeg=/usr/local/ --prefix=/usr/local/

My config.log is in attachment.

Any help is very appreciated.

Guilherme.


Replies (5)

RE: Install CDO 1.7.2 - Added by Ralf Mueller over 8 years ago

could you upload the config.log from the libcdi dir?

RE: Install CDO 1.7.2 - Added by Guilherme Martins over 8 years ago

Hi Ralf,

The file is in attachment.

Thanks,

Guilherme.

RE: Install CDO 1.7.2 - Added by Ralf Mueller over 8 years ago

This is the error:

configure:27260: ./libtool --mode=link --tag=CC gcc -o conftest -g -O2 -pthread -I/usr/local/include  -L/usr/local/lib  conftest.c -lnetcdf   -lm  >&5
libtool: link: warning: library `/usr/local/lib/libsz.la' was moved.
libtool: link: warning: library `/usr/local/lib/libsz.la' was moved.
libtool: link: warning: library `/usr/local/lib/libsz.la' was moved.
libtool: link: cannot find the library `/home/gui/Downloads/CDO/bibliotecas/szip-2.1/szip/lib/libsz.la' or unhandled argument `/home/gui/Downloads/CDO/bibliotecas/szip-2.1/szip/lib/libsz.la'
configure:27260: $? = 1

szip seem to be not present, where netcdf expects it to be.

hth
ralf

RE: Install CDO 1.7.2 - Added by Guilherme Martins over 8 years ago

Hi Ralf,

I can't understand because all my libraries are installed in:

/usr/local/lib

See the picture in attachament.

This directory: /home/gui/Downloads/CDO/bibliotecas/szip-2.1

Is only a place where I put the *.gz files.

I installed again the szip library but the error remains.

Thanks,

Guilherme.

libsz.png (90.6 KB) libsz.png Directory where are all libraries.

RE: Install CDO 1.7.2 - Added by Guilherme Martins over 8 years ago

Hi Ralf,

I solved my problem installing all libraries again.

Guilherme.

    (1-5/5)