While i try to compile cyrus-imapd-2.1.14 after installing Berkeley db-4.0.14 i've got unresolved symbols. I think this problem arises because of that that 2.1.14-db4.patch is applied. gcc -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wall -march=i686 -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' collect2: ld returned 1 exit status make[1]: *** [imapd] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.14/work/cyrus-imapd-2.1.14/imap' make: *** [all] Ошибка 1 !!! ERROR: net-mail/cyrus-imapd-2.1.14 failed. !!! Function src_compile, Line 98, Exitcode 2 !!! compile problem junki death # epm -qa | grep db db-3.2.9-r6 db-1.85-r1 gdbm-1.8.0-r5 pwdb-0.61-r4 db-4.0.14 gdb-5.3 edb-1.0.3 junki death # Another application use db4 is working normally. And old version of cyrus linked to db3 library is working normally. junki death # emerge -s cyrus-imapd Searching... [ Results for search key : cyrus-imapd ] [ Applications found : 1 ] * net-mail/cyrus-imapd Latest version available: 2.1.14 Latest version installed: 2.1.14 Size of downloaded files: 1,684 kB Homepage: http://asg.web.cmu.edu/cyrus/imapd/ Description: The Cyrus IMAP Server junki death # ldd /usr/cyrus/bin/imapd libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40015000) libresolv.so.2 => /lib/libresolv.so.2 (0x4003c000) libdb-3.2.so => /usr/lib/libdb-3.2.so (0x4004e000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x400d0000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x400ff000) libnsl.so.1 => /lib/libnsl.so.1 (0x401c4000) libc.so.6 => /lib/libc.so.6 (0x401da000) libdl.so.2 => /lib/libdl.so.2 (0x40307000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) junki death # Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -u world 3. emerge cyrus-imapd And compilation will aborted :( Last sync i do 10-15 minutes ago
After upgrade berkeley db to 4.0.14-r1 i've got this error again. junki death # epm -qa | grep db-4 db-4.0.14-r1 junki death #
Someone on the forums seems to have found an answer to this problem. http://forums.gentoo.org/posting.php?mode=reply&t=74214&sid=84ff592a8b819e06a863e241ce79f9de
I apologize the correct URL is: http://forums.gentoo.org/viewtopic.php?t=74214
I don't maintain cyrus, but I'd like to know who does. Reassigning to net-mail.
i've been maintaining cyrus... i don't have a dev box to work on right now though... :( at least not for another weeek or so.
This should be fixed in cvs for versions 2.1.14 and new 2.1.15. Please try it and report back. Thanks.
I tested this a few times and it seems to be functional. Going to close the bug. If there are further problems, please reopen.
Yes its working, 10x