I have been through this one myself.
Every version of Berkeley is incompatible with every other version and every package that uses Berkeley has to have all of its friends using the same version of Berkeley.

So....
The best thing is to install your various versions of Berkeley in their own directories

/usr/local/BerkeleyBD4.3.25
/usr/local/BerkeleyBD4.1.25 etc.

and never use

"/usr/local/bdb" as a directory in any build.

Point the build to the actual version of Berkeley that you intend to use (after 
checking all of the dependent packages to figure out a common denominator).

Postfix seems to have a problem with the latest version of Berkeley so you have to have at least on old version installed.
Make sure that everything mentioned in the Howto is compiled with the same 
version of Berkeley.

Fix your configure scripts to point to the right place and then rebuild all of 
the packages. Do not touch /usr/local/bdb since you may have other software 
running that uses it.

That will fix your "incompatible version" problem with Berkeley and if you do 
this to all new packages that you install, you should achieve inner peace and oneness 
with the spawn of Sleepycat if not with the Universe.


Ron


Imran Aziz wrote:

Hello All,
I have been trying to get the cyrus imap, postfix setup running
according to the documentation listed here

http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/install.html

but have run into no of issues.

The latest one is that after installing everything cyrus imap was
running but logs showed that there was an issue with the Berkley DB,
since it was compiled with ver 4.3.8 (which I installed) and linked
with ver 4.1.25 which was already on the system. So I uninstalled the
new version and have installed ver 4.1.25 same as the rpm install, the
rpm install also have development package in it.

Now when I run the configure
./configure \
--with-sasl=/usr/local/lib \
--with-perl \
--with-auth=unix \
--with-dbdir=/usr/local/bdb \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-bdb-incdir=/usr/local/bdb/include \
--with-openssl=/usr/local/ssl \
--without-ucdsnmp \
I get this error

checking authorization method... unix
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
configure: error: Berkeley DB 3.x or later was not found.  You may need to
   supply the --with-bdb-libdir or --with-bdb-incdir configure options.

Can anyone please guide me why am I getting this error when Berkeley
DB is installed on the system and it was compiling fine before?

Any help would be a life saver for me.

Thanks a lot in advance.
Imran.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm




_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to