Opened 5 years ago

Closed 4 years ago

#606 closed defect (outdated)

nc-config in osgeo4w

Reported by: hellik Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description

see https://github.com/OSGeo/grass/pull/50

comment from there:

This config script is for NetCDF.

./configure --with-netcdf=mswindows/osgeo4w/nc-config

OSGeo4W provides this script with the netcdf package, but it has a bug. That needs to be fixed as well and then maybe we don't need this script.

The OSGeo4W version prints hard-coded paths c:/src/osgeo4w/netcdf/osgeo4w/install-x86_64/...

please review if an upstream fix is needed

Change History (5)

comment:1 by jef, 5 years ago

Resolution: fixed
Status: newclosed

Fixed in 4.6.2-2

comment:2 by hcho, 5 years ago

I just tried the latest nc-config and got this error:

ld.exe: cannot find -lcurl

There is no /c/OSGeo4W64/lib/curl.lib. Instead, I found /c/OSGeo4W64/lib/libcurl.(exp,lib,pdb).

Looks like we need -llibcurl?

comment:3 by hcho, 5 years ago

Resolution: fixed
Status: closedreopened

comment:4 by hcho, 5 years ago

nc-config --libs prints

-L/C/OSGeo4W64/lib -lnetcdf -lhdf5 -lhdf5_hl -lzdll -lcurl

netcdf 4.6.2-2 and curl 7.60.0-1 are installed.

comment:5 by jef, 4 years ago

Resolution: outdated
Status: reopenedclosed
Note: See TracTickets for help on using tickets.