Bug#42898: libc6: db_dump185 links to libdb not libdb1
>>>>> Paul Martin writes:
> db_dump185 cannot handle db1.85 databases as it links thus:
> # ldd /usr/bin/db_dump185
> libdb.so.3 => /lib/libdb.so.3 (0x40006000)
> libc.so.6 => /lib/libc.so.6 (0x40041000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
db_dump185 comes with db2 (it's build in the db2 subdirectory!) - and
therefore it has to be linked with db2 (aka libdb.so.3). glibc is
just following the recommend way of the db2 authors.
> This looks like -ldb was used in the makefile rather than -ldb1
> This is a grave bug as it prevents users migrating their databases as
> recommended by the output of the postinst script of perl-5.005, and could
> cause data loss -- Perl doesn't notify as an error that it's clobbering a
> database of the wrong type by default.
Did you actually try running db_dump185? It should work.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de
Reply to: