> 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