[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #JIQ-153468]: Re: [netcdfgroup] please try the netcdf-4.1.1-rc2 release...
- Subject: [netCDF #JIQ-153468]: Re: [netcdfgroup] please try the netcdf-4.1.1-rc2 release...
- Date: Tue, 30 Mar 2010 14:37:15 -0600
> On Wed, Mar 24, 2010 at 09:13:58AM -0600, Unidata netCDF Support wrote:
> > Presumably the fix is to make
> > nc-config --libs to take
> > if --enable-shared is set
> > so that it can output different
> > sets of libs for shared
> > and non-shared.
> >
>
> Well, you need to split cases for shared and static builds.
> Example taken from gdal:
>
> frankie@klecker:~$ gdal-config --dep-libs
> -L/usr/lib -lgeos_c -I/usr/include -lsqlite3 -lodbc -lodbcinst -L/usr/lib
> -lexpat -L/usr/lib -lxerces-c -lpthread -ljasper -lhdf5 -lmfhdfalt -ldfalt
> -logdi -lgif -ljpeg -lpng -lnetcdf -lpq -L/usr/lib -lpq -lz -lpthread -lm -lrt
> -ldl -lcurl -rdynamic -L/usr/lib/mysql -lmysqlclient
>
> frankie@klecker:~$ gdal-config --libs -L/usr/lib -lgdal1.6.0
>
>
Howdy Francesco!
Thanks for pointing this out. It is fixed in the repository and the fix will be
in the next snapshot release.
Ed
Ticket Details
===================
Ticket ID: JIQ-153468
Department: Support netCDF
Priority: Normal
Status: Closed