This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: db1 vs. db2


James Antill <nevyn@and.org> writes:

|>  adding -I/usr/include/db1

That's exactly what you are supposed to do.  The ABIs of db1 and db2 are
completely different, and you cannot mix them.  The same is true for the
APIs, although there are some db1 compatibility functions in db2.

|> is what the libdb1 is for.

It's for compatibility.  A database written by db1 is incompatible with
one written by db2, not even when using the db1 compatibility functions in
db2.

|>  The above program (exim-2.11 GPL'd) seems to work linked with either, 
|> but the sizes are very different and the libdb1 seems to have the same 
|> kinds of symbols that the 2.0.7 libdb had.

Yes, that's how it's supposed to be.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]