Re: Linking curl, lz, and ldl to netCDF

2015-09-23 Thread Ryan Schmidt
On Sep 23, 2015, at 2:49 PM, Ryan Jamison wrote: > I was wondering how one goes about linking curl (-lcurl), -lz, and -ldl to > netCDF that's build through Macports? Thanks, Looks like curl support is added to netcdf by enabling the dap variant. It's on by default so you should already have

Re: Linking curl, lz, and ldl to netCDF

2015-09-23 Thread Ryan Jamison
I'm trying to build a code that requires netCDF and hdf5. I keep getting the errors shown in the attached log file. It appears to me there are issues with lcurl and lz. On Wed, Sep 23, 2015 at 2:40 PM, Ryan Schmidt wrote: > > On Sep 23, 2015, at 2:49 PM, Ryan Jamison

Re: Linking curl, lz, and ldl to netCDF

2015-09-23 Thread Stephen J. Butler
Your project is linking against the static versions of netCDF and hdf5. I believe the proper solution to your problem is adding -lcurl, -lz, and -ldl to the linker flags of your project. On Wed, Sep 23, 2015 at 3:57 PM, Ryan Jamison wrote: > I'm trying to build a code