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

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 



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