db1 vs. db2
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Thu Apr 1 00:00:00 GMT 1999
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
More information about the Libc-alpha
mailing list