Re: DBERROR db4: Berkeley DB library, recompile needed
"Tom 'spot' Callaway" <[email protected]>
| Newsgroups | gmane.linux.aurora.user |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Aurora-sparc-user mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-user Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html