problem installing netpolicy

"Ramon Tarruella" <[email protected]> Sun, 13 Jul 2003 22:14:51 -0400
Newsgroups gmane.network.net-policy.user
Message-ID <[email protected]>
Hi I need some help, i'am trying to install netpolicy, I installed all te
prerequisites, I installed the BerkeleyDB.4.1 with the --enable--cxx option
and anyway I receive this problems:

./configure

checking for EVP_md5 in -lcrypto... yes
checking for db_version in -ldb_cxx... no
configure: error: "libDB not found. get version 3.1 or higher from
http://www.sleepycat.com/download/index.shtml.  Make sure it is compiled
with --enable-cxx."

When I check config.log I receive this:

configure:2538: checking for db_version in -ldb_cxx
configure:2569: g++ -o
conftest -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include  -I/usr/lo
cal/BerkeleyDB.4.1/include -I/usr/local/include  -L/usr/local/BerkeleyDB.4.1
/lib -L/usr/lib/mysql -L/usr/local/lib  conftest.cc -ldb_cxx  -lcrypto -lsmi
>&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb_cxx.so: undefined
reference to `pthread_condattr_setpshared'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb_cxx.so: undefined
reference to `pthread_mutexattr_destroy'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb_cxx.so: undefined
reference to `pthread_mutexattr_setpshared'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb_cxx.so: undefined
reference to `pthread_mutexattr_init'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb_cxx.so: undefined
reference to `pthread_mutex_trylock'

Please help me on this

thanks a lot

wait for your answers

Ramon



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1