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 -> db2


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.


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