Opened 2 years ago

Closed 10 months 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 Changed 2 years ago by jef

Resolution: fixed
Status: newclosed

Fixed in 4.6.2-2

comment:2 Changed 2 years ago by hcho

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 Changed 2 years ago by hcho

Resolution: fixed
Status: closedreopened

comment:4 Changed 2 years ago by hcho

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 Changed 10 months ago by jef

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