Ok I overcome that problem by using DB 4.3 version. <br>Now again db mattered at latter installation stage.<br><br>When doing make install for the postfix, it gives this error<br><br>Please specify the final destination directory for installed Postfix
<br>configuration files.<br>config_directory: [] (i just enter)<br>bin/postconf: error while loading shared libraries: <a href="http://libdb-4.3.so">libdb-4.3.so</a>: cannot open shared object file: No such file or directory
<br>bin/postconf: error while loading shared libraries: <a href="http://libdb-4.3.so">libdb-4.3.so</a>: cannot open shared object file: No such file or directory<br>bin/postconf: error while loading shared libraries: <a href="http://libdb-4.3.so">
libdb-4.3.so</a>: cannot open shared object file: No such file or directory<br>bin/postconf: error while loading shared libraries: <a href="http://libdb-4.3.so">libdb-4.3.so</a>: cannot open shared object file: No such file or directory
<br>....<br>---------<br>I did make as follows, <br><br>make makefiles 'CCARGS=-DHAS_MYSQL \<br>-I/usr2/servers/pub-imap/mysql/include/mysql -DUSE_SASL_AUTH \<br>-I/usr/local/include/sasl -I/usr2/servers/pub-imap/bdb2/include' \
<br>'AUXLIBS=-L/usr2/servers/pub-imap/mysql/lib/mysql -lssl -lcrypto -lsasl2 -lpthread \<br>-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr2/servers/pub-imap/bdb2/lib'<br> <br>(Above is as "Postfix-Cyrus-Web-cyradm-HOWTO" says but I additionally entered
<span style="font-weight: bold;">-lssl -lcrypto -lsasl2</span> <span style="font-weight: bold;">-lpthread</span> in <span style="text-decoration: underline;">'</span><span style="font-weight: bold; text-decoration: underline;">
AUXLIBS </span>section to overcome some "make" error)<br>----<br>Note that now it fails in make install stage. I am a newbie on this area and highly expect your help.<br><br>Thank you <span class="gmail_quote"><b class="gmail_sendername">
Chaskiel,<br> </b></span><br>Thank you all.<br><br><div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">Chaskiel M Grundman</b> <<a href="mailto:cg2v@andrew.cmu.edu">cg2v@andrew.cmu.edu</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--On Tuesday, December 12, 2006 02:12:41 PM +0530 Pubudu Premachandra<br><<a href="mailto:npubudu@gmail.com">
npubudu@gmail.com</a>> wrote:<br><br>> cyrusdb_berkeley.c:176: error: structure has no member named `set_lk_max'<br><br>set_lk_max has been deprecated since DB 4.0. I guess it was finally removed.<br><br>The following patch may be used to work around this:
<br><br><br><br>--- lib/cyrusdb_berkeley.c 2006-08-01 15:34:18.000000000 -0400<br>+++ /tmp/cyrusdb_berkeley.c 2006-12-12 14:04:00.000000000 -0500<br>@@ -174,7 +174,15 @@<br> syslog(LOG_WARNING,<br> "DBERROR: invalid berkeley_locks_max value, using internal
<br>default");<br> } else {<br>+#if DB_VERSION_MAJOR >= 4<br>+ r = dbenv->set_lk_max_locks(dbenv, opt);<br>+ if (!r)<br>+ r = dbenv->set_lk_max_lockers(dbenv, opt);<br>+ if (!r)
<br>+ r = dbenv->set_lk_max_objects(dbenv, opt);<br>+#else<br> r = dbenv->set_lk_max(dbenv, opt);<br>+#endif<br> if (r) {<br> dbenv->err(dbenv, r, "set_lk_max");<br> syslog(LOG_ERR, "DBERROR: set_lk_max(): %s", db_strerror(r));
<br><br><br>Or you can downgrade to DB 4.3 (I don't know if 4.4 will work or not)<br>----<br>Cyrus Home Page: <a href="http://cyrusimap.web.cmu.edu/">http://cyrusimap.web.cmu.edu/</a><br>Cyrus Wiki/FAQ: <a href="http://cyrusimap.web.cmu.edu/twiki">
http://cyrusimap.web.cmu.edu/twiki</a><br>List Archives/Info: <a href="http://asg.web.cmu.edu/cyrus/mailing-list.html">http://asg.web.cmu.edu/cyrus/mailing-list.html</a><br></blockquote></div><br>