This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Frank, Because of the many differenct ways to do it, we don't support the creation of a sharable netCDF library. You could probably, however, trick the makefiles into creating one for you by appropriately defining certain environment variables before executing the configure script and selectively making specific targets in specific subdirectories. The environment variables that might be relevant include CC CPPFLAGS CFLAGS LD LDFLAGS LIBS Alternatively, you could simply build the sharable library manually in the libsrc/ subdirectory. Regards, Steve Emmerson <http://www.unidata.ucar.edu> > To: address@hidden > From: fm <address@hidden> > Subject: About Shared Library > Organization: UCAR/Unidata > Keywords: 200105312204.f4VM48p26820 > > Hello > > I'm working in the development of a program and I'm compiling it with > 'libtool'. I need to use netCDF but a shared ('libtool') version of the > library. > > Is there any distribution of netCDF that generates a shared library (with > libtool)? > > Thanks in advances > > Frank Macias > > -ooO-(_)-Ooo- > Frank Macias > Head of the Neuroinformatics Lab > Cuban Neuroscience Center > Avenida 25 #15202 esquina 158 > Cubanacan, Playa > Ciudad Habana. CUBA > POB: 6412 or 6414 > Phone: (53)-7-286691/217442/286568 > Fax: (53)-7-286321 > Email: address@hidden > address@hidden > address@hidden > WWW: http://www.cneuro.edu.cu/~fm > ---oooO--Oooo---