db1 -> db2

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Feb 17 02:52:00 GMT 1999


Thorsten Kukuk <kukuk@suse.de> writes:

|> Hello,
|> 
|> With glibc 2.1, we have libdb2. I always thought, that libdb2 could
|> read databases created with libdb1, and convert it if you write to
|> it.
|> This seems not to be true, if I recompile programs using db_185.h and
|> linking them against libdb2, this programs couldn't read any longer
|> their old databases. 
|> Is it really necessary to rebuild all the databases ? 

Yes.  db_185.h and db185.c only emulate the db1 API, but not the db1 ABI.
They still create and expect db2 format databases.

Andreas.



More information about the Libc-hacker mailing list