compiling against specific libdb

Ken Murchison murch at andrew.cmu.edu
Tue Apr 15 10:44:19 EDT 2008


Rudy Gevaert wrote:
> Hello,
> 
> I'm compiling cyrus on Debian etch.
> libdb4.3 and libdb4.4, libdb4.3-dev packages are installed.
> 
> If I understand the configure script correctly it tries to find the 
> highest available libdb installed on the system.
> 
> In this case that is libdb4.4.
> 
> However I want to compile against 4.3, because we are using libdb4.3 on 
> sarge, and I want to do the upgrade to etch, but keeping libdb4.3
> 
> I can't find a way to tell cyrus to compile against 4.3.  Unless I edit 
> the configure script to first try libdb4.3.
> 
> I don't have any experience with autoconf so I'm a bit lost...
> 
> Can anybody shed in light on this for me?

If the various versions are in separate directories, you might be able 
to use the --with-bdb* options.  Otherwise, you will probably have to 
modify the configure script.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Cyrus-devel mailing list