- To: netcdfgroup@xxxxxxxxxxxxxxxx
- Subject: Re: [netcdfgroup] netcdf-4.1.2 released...
- From: Graziano Giuliani <graziano.giuliani@xxxxxxxxxxxxxx>
- Date: Sun, 03 Apr 2011 10:22:43 +0200
On 04/03/2011 05:46 AM, Roy Mendelssohn wrote:
1. Give the commandnc-config --includedir
[...] As the problem is at link phase, try to use: `nc-config --flibs`instead of "-L/usr/local/netcdf/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz -lcurl"
I am guessing netcdf was built as dynamic lib and has fortran interface separated from C one in a separate libnetcdff.x. On my Linux box I have to link both libnetcdf AND libnetcdff:
-L/usr/lib -lnetcdff -lnetcdfHave a look also at Ed Harnett e-mail on the list on 28/03: this is going to change in the future.
Ciao! Graziano.
- References:
- [netcdfgroup] netcdf-4.1.2 released...
- From: Ed Hartnett
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: Corey Bettenhausen
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: John Helly
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: Roy Mendelssohn
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: John Helly
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: Roy Mendelssohn
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: John Helly
- Re: [netcdfgroup] netcdf-4.1.2 released...
- From: Roy Mendelssohn
- [netcdfgroup] netcdf-4.1.2 released...