View previous topic :: View next topic |
Author |
Message |
holger_p n00b

Joined: 29 Aug 2003 Posts: 2
|
Posted: Fri Aug 29, 2003 10:19 am Post subject: problem with db and openldap/cyrus-imapd |
|
|
I got a problem with the db libraries(at least I guess the db libs are the cause).
When I try to emerge openldap it(configure) ends with:
-----------------------------------------------------------------
.....
checking for db3/db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb-3)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb1)... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable
--------------------------------------------------------------------
Cyrus configures properly, but compiling ends with:
--------------------------------------------------------------------
...
gcc -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -
L/usr/lib -Wall -march=pentium3 -O3 -pipe -o imapd \ ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o libimap.a ../acap/libacap.a ../lib/libcyrus.a -lsasl2 -lfl -lresolv -ldb-4.0 -lssl -lcrypto ../et/libcom_err.a -lwrap -lnsl
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x3c): In function `abort_txn':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0xe7): In function `commit_txn':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1208): In function `commit_nosync':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1381): In function `gettid':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1717): In function `mystore':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1751): In function `mystore':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x17ee): In function `mystore':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1999): In function `mydelete':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x19e1): In function `mydelete':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1a7e): In function `mydelete':
: undefined reference to `txn_commit'
--------------------------------------------------------------------
The openldap-thing can be solved by making some symlinks or by using gdbm, but I'm not abled to get cyrus working. I think the problems are somewhat related to eachother, that's why I put them in one post.
holger |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9627 Location: beyond the rim
|
Posted: Fri Aug 29, 2003 10:26 am Post subject: |
|
|
file a bug for cyrus-imapd on https://bugs.gentoo.org (unless there is already one), looks like another db4 problem. |
|
Back to top |
|
 |
holger_p n00b

Joined: 29 Aug 2003 Posts: 2
|
Posted: Fri Aug 29, 2003 11:10 am Post subject: alright, it seems to be a real bug |
|
|
I found something concerning both problem at bugzilla.
Sorry - I considered it to be a configuration problem, rather then a bug. |
|
Back to top |
|
 |
kurt Guru


Joined: 25 Aug 2003 Posts: 403 Location: Arni (AG); CH
|
|
Back to top |
|
 |
kurt Guru


Joined: 25 Aug 2003 Posts: 403 Location: Arni (AG); CH
|
|
Back to top |
|
 |
|