Hello, I had spent hours to try to compile a Berkely DB C++ code in eclipse, I notice that I have to include the directory where I installed the berkeley DB, I have done all that except for the GCC C++ Linker libraries. Which of the library files in /usr/local/BerkeleyDB.4.6/lib should I include ?
libdb-4.6.a libdb-4.so libdb_cxx-4.6.la libdb_cxx.a
libdb-4.6.la libdb.a libdb_cxx-4.6.so libdb_cxx.so
libdb-4.6.so libdb_cxx-4.6.a libdb_cxx-4.so libdb.so


when I try one of those, I got error of
ld: cannot find -llibdb.a

More info
Linux william-pc 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
BerkeleyDB.4.6
Eclipse SDK Version: 3.2.2

Thanks.