Re: Crash with db5

Jeff Garzik <[email protected]> Sun, 02 Jan 2011 20:44:02 -0500
Newsgroups org.kernel.vger.hail-devel
Message-ID <[email protected]>
On 01/02/2011 08:20 PM, Pete Zaitcev wrote:
> Looks like Rawhide throws this if libdb-devel is in use:
>
> make  check-TESTS
> make[3]: Entering directory `/q/zaitcev/hail/hail-tip/test/cld'
> PASS: prep-db
> DB_ENV->lsn_reset: method not permitted before handle's open method
> DB_ENV->dbremove: method not permitted before handle's open method
> cld[11548]: SIGSEGV
> PASS: start-daemon
> port file not found.
> FAIL: pid-exists
>
> libdb-5.1.19-2.fc15.x86_64

Are you compiling with db4 headers, but linking with db5?
Or vice versa?

This is a problem I ran into, with F14.  hail's configure script 
searches for the first libdb, which will always be libdb5 on >= F14, 
because libdb5 is always installed due to dependencies.  But... you can 
either have db4-devel or libdb-devel installed for the devel pkg.

If you have db4-devel + libdb5... boom.

	Jeff