NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Building NetCDF C library (4.2.1.1) on Cygwin - dlls missing

On 2/8/2013 11:06 AM, Kokkonen Teemu wrote:
Hi everyone,

I built NetCDF C library (4.2.1.1) on Cygwin with:

./configure --disable-netcdf-4 --enable-shared
make check install

The build was successful and all tests were passed. However, I cannot find the 
shared library anywhere. I get the static library (libnetcdf.a, libnetcdf.la) 
in /usr/local/lib and the following files:

nc-config, nccopy.exe, ncdump.exe, ncgen.exe, ncgen3.exe

in /usr/local/bin. But I cannot find the dlls anywhere. Have I misunderstood 
something?

The reason I am doing this is that I want to build GDAL with netcdf support. 
The GDAL compilation dies with an error message:

*** Warning: This system can not link to static lib archive 
/usr/local/lib/libnetcdf.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

I am grateful for any help, cheers,

Teemu


netcdf-4.2.1.1 is already part of cygwin
http://cygwin.com/ml/cygwin-announce/2012-08/msg00001.html

Regards
Marco




  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: