[Aurora-sparc-user] DBERROR db4: Berkeley DB library, recompile needed

Tom 'spot' Callaway tcallawa at redhat.com
Mon Dec 4 13:10:55 EST 2006


On Sun, 2006-12-03 at 10:28 +0700, Serg A. Kazakoff wrote:
> Hello, aurora-sparc-user.
> 
> When I try to run openldap-server (slapd) configured to use db4 it doesn't create database and logged the next message:
> ==
> DBERROR db4: Berkeley DB library configured to support only DB_PRIVATE environments
> ==
> also, the same error appeared when using DB4 with cyrus-imapd.
> I found (by Google) recommendation to fix this problem - recompile DB4 with 
> --disable-pthreadsmutexes option.
> But when I have tried to compile db4 from srpm I got lot of errors
> with lnks to /lib64 and /usr/lib64. There is not in Aurora 2.0 distribution.
> So, I was tried to set BuildArchitecture parameter in db4.spec file to "sparc" - it doesn't work with message "no compatible arch found".
> How to fix this problem?

Prefix your rpmbuild command with "sparc32". E.g.:

sparc32 rpmbuild -ba db4.spec

You need the sparc32 package installed to do this, but it should be
installed by default.

~spot



More information about the Aurora-sparc-user mailing list