Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 10:43:19 -0700
From:      Jon Rust <jpr@vcnet.com>
To:        freebsd-questions@freebsd.org
Subject:   gdbm not found, but installed ??
Message-ID:  <v04210106b3c4eea46d8c@[209.239.239.22]>

next in thread | raw e-mail | index | archive | help
I have gdbm installed from the ports collection:

      rhap:~/apps/maildrop-0.65{18} $ ls -l /usr/local/lib/ | grep gdb
      -rw-r--r--  1 root  wheel  48898 Jul 26 14:06 libgdbm.a
      lrwxr-xr-x  1 root  wheel     12 Jul 26 14:06 libgdbm.so@ -> libgdbm.so.2
      -rwxr-xr-x  1 root  wheel  25353 Jul 26 14:06 libgdbm.so.2*

But when I run configure (for maildrop .65) it can't find it:

      rhap:~/apps/maildrop-0.65{19} $ ./configure --with-gdbm
      creating cache ./config.cache
      checking for a BSD compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking whether make sets ${MAKE}... yes
      checking for working aclocal... found
      checking for working autoconf... found
      checking for working automake... found
      checking for working autoheader... found
      checking for working makeinfo... found
      checking whether make sets ${MAKE}... (cached) yes
      checking for gawk... gawk
      checking for gcc... gcc
      checking whether the C compiler (gcc  ) works... yes
      checking whether the C compiler (gcc  ) is a cross-compiler... no
      checking whether we are using GNU C... yes
      checking whether gcc accepts -g... yes
      checking for c++... c++
      checking whether the C++ compiler (c++  ) works...yes
      checking whether the C++ compiler (c++  ) is a cross-compiler... no
      checking whether we are using GNU C++... yes
      checking whether c++ accepts -g... yes
      checking for ranlib... ranlib
      checking for POSIXized ISC... no
      checking how to run the C++ preprocessor... c++ -E
      checking for AIX... no
      checking for minix/config.h... no
      checking for gccmakedep... gccmakedep
      checking for strip... strip
      checking for -fhandle-exceptions flag to g++... yes
      checking for getpwnam in -lsun... no
      checking for gdbm_open in -lgdbm... no
      checking for gdbm_open... no
      configure: error: GDBM library not found

Furthermore, the maildrop package can't find plain ol' db libs either:

     rhap:~/apps/maildrop-0.65/bdbobj{22} $ make
     *** Did not find db library.  If libdb is in a nonstandard
     *** directory, rerun configure.
     *** Error code 1

     Stop.

     rhap:~/apps/maildrop-0.65/bdbobj{23} # ls -l /usr/local/lib | grep libdb
     -r--r--r--  1 root  man    450120 Jul 26 13:45 libdb2.a

I tried creating a symlink for libdb.a to point to libdb2.a, but it 
didn't help.

What am I missing?

Thanks,
jon


    _____________________________________________________
    |Jon Rust       |     VCNet, Inc     |(805) 383-3500|
    |jpr@vcnet.com  |                    | www.vcnet.com|
    |---------------------------------------------------|
    |              Failure is not an option             |
    |   It comes bundled with your Microsoft product    |
    |___________________________________________________|


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210106b3c4eea46d8c>