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.
On Wed, 1 Sep 1999, Unidata Support wrote: > >To: address@hidden > >From: "Arthur A. Person" <address@hidden> > >Subject: Getting gdbm to work > >Organization: . > >Keywords: 199909011924.NAA21519 > > Hi... > > I've installed ldm 5.0.8 and am trying to get gdbm to work as it did > before... I originally had the library installed under /opt/local but the > ldm didn't seem to find gdbm.h there... I tried the default /usr/local > with the same results. In both cases, the ldm built, but when it ran, it > gave errors like: Art, I also encountered some difficulty with GDBM. Here's the steps I took to make it work on solaris 5.6 using csh. I used the gdbm-1.7.3.tar.gz distribution from ftp ftp.gnu.org/gnu/gdbm % setenv GDBMLIB -lgdbm -made sure the libgdbm.a was in the path of the LD_LIBRARY_PATH environment variable -made sure the gdbm.h was in the path of CPPFLAGS, with the -I option, ie % setenv CPPFLAGS -I/local/gnu/gdbm-1.7.3 rm config.cache config.log config.status % ./configure % make install % sudo make install_setuids Hope this helps, Robb.... > > Sep 01 17:15:15 navier pqact[5281]: ldmdb_open: 2: No such file or > directory > > I finally decided to put libgdbm.a in /usr/lib and gdbm.h in /usr/include, > and then the config files indicate that they were both found, but now when > I run the ldm, I don't get any error messages but I also don't get any > data. > > Can you provide any clues as to how I can get this built to run the way > things did under the previous ldm release? > > Thanks. > > Art. > Arthur A. Person > Research Assistant, System Administrator > Penn State Department of Meteorology > email: address@hidden, phone: 814-863-1563 > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================