Mathias Koerber schrieb am Tue, Apr 09, 2002 at 02:20:18PM +0800: > Hi all, > > I am trying to install cyrus-imapd on my RH7.2 system. As there don't seem > to > be any RPMs for this, I downloaded > db-4.0.14 > cyrus-sasl-2.1.2 > cyrus-imapd-2.1.3 [...] > ../lib/libcyrus.a(cyrusdb_db3.o): In function `mystore': > /usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:671: undefined reference to > `txn_id' > /usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:681: undefined reference to > `txn_id' > ../lib/libcyrus.a(cyrusdb_db3.o):/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3. > c:695: more undefined references to `txn_id' follow > collect2: ld returned 1 exit status > make[1]: *** [imapd] Error 1 > make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.3/imap' > make: *** [all] Error 1
Check your development environment. Which "db" software do you have in- stalled? Most problems arise if you have db4 _and_ db3 files in your system at the same time, causing cyrus to do things like: compile with db4 headers but link with db3 libs (or vice versa). I always check with $ rpm -qa | grep -E "^db" $ ls -l /usr/lib/libdb.so $ grep DB_VERSION_MAJOR /usr/include/db.h to be sure which headers and libs might be accessed by cyrus during com- pile. Regards, Birger