Hi everyone,

I've installed berkeley db on fedora 9 using commands:

../dist/configure --enable-cxx
make
make install

The problem is, none of the examples in the folder examples_cxx run.

when i run the excxx_example_database_load.cpp in getting_started folder this is the error I get
-------------------------------------------------------------
/tmp/ccfvC00D.o: In function `main':
excxx_example_database_load.cpp.text+0xd74): undefined reference to
`MyDb::MyDb(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, bool)'
excxx_example_database_load.cpp.text+0xd98): undefined reference to
`MyDb::MyDb(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, bool)'
excxx_example_database_load.cpp.text+0xdbc): undefined reference to
`MyDb::MyDb(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, bool)'
/tmp/ccfvC00D.o: In function `MyDb::~MyDb()':
excxx_example_database_load.cpp.text._ZN4MyDbD1Ev[MyDb::~MyDb()]+0xf):
undefined reference to `MyDb::close()'
collect2: ld returned 1 exit status

--------------------------------------------------------------
Please help.