NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDBMLIB

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.



Celia,

To make it clear, the compile to include the GDBM libraries needs to be
done by:

% setenv GDBMLIB -lgdbm

Set the LD_LIBRARY_PATH to include the path to the gdbm library. So if the
library is in /gnu/lib/libgdbm.a then set

% setenv LD_LIBRARY_PATH /gnu/lib:$LD_LIBRARY_PATH


Also, find and put gdbm.h in the include dir of the distribution.

ls ~ldm/ldm-5.0.8/include

gdbm.h          h_clnt.h        ldmprint.h      setenv.h        fsStats.h
fbits.h         ldm.h           md5.h           timestamp.h     inetutil.h
lcm.h           ldm4.h          mkdirs_open.h   alloc.h         ulog.h
pq.h            ldm_xlen.h      paths.h         alrm.h
ldmconfig.h
atofeedt.h      ldmclnt.h       prod_class.h    fdnb.h 


This is all done before running ./configure.

Robb...

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================