[Date Prev][Date Next]
Re: (ITS#3581) BerkeleyDB libdb and db.h must match exactly
I've updated HEAD to require the header and library version
numbers to exactly match as they should match in any properly
At 04:03 AM 3/4/2005, firstname.lastname@example.org wrote:
>Full_Name: Villy Kruse
>OS: Redhat 7.3
>Submission from: (NULL) (18.104.22.168)
>There are too many changes in db.h between minor versions of BerkeleyDB
>to use a db.h from a different release than the libdb you will be linking with.
>For example in db.h from version 4.1 you have this definition
>#define DB_INIT_MPOOL 0x004000 /* Initialize mpool. */
>and in version 4.3 you have this definition
>#define DB_INIT_MPOOL 0x0008000 /* Initialize mpool. */
>Current version test tests if the library version is greater than or equal to
>the header version.
>If I compile with the version 4.1 header and the version 4.3 library I get
>Segment violation when doing "make test". Also some of the tests in configure
>will get Segment violation.