trying to compile 64bit

David Relson relson at osagesoftware.com
Thu Jun 17 15:31:08 CEST 2004


On Thu, 17 Jun 2004 14:17:11 +0100
rkimber at ntlworld.com wrote:

> I'm trying to compile bogofilter-0.91.3 on my shiny new dual opteron,
> with a Suse 9.1 system that I don't know much about.
> 
> I have db4 installed and regardless of whether I specify
> --with-db=/usr/lib64, I get an error:-
> 
> checking how to link with libdb... -ldb
> configure: error:
> ====================================================================
> Cannot link against libdb? Try 'rm config.cache', then re-configure.
> If the problem persists, report it to the bogofilter mailing list.
> Remember to include your config.log.
> ====================================================================
> 
> config.cache doesn't exist.
> 
> config.log is attached in a gzip file.
> 
> Any help would be appreciated.
> 
> Thanks
> - Richard.

Hi Richard,

The FAQ has some suggestions on how to build with different BerkeleyDB
versions.  You may need the "--with-libdb-prefix=..." option.  

I'd heard that 64 bit environments complicated life by needing separate
directories for 32 bit and 64 bit code.  Sounds like you're dealing with
that!

It's possible that the "64" in "/usr/lib64" may confuse configure.  A
symlink like "ln -s /usr/lib64 /usr/lib" may help.

Likely Matthias will have even better suggestions!

HTH,

David



More information about the Bogofilter mailing list