On Tue, Feb 11, 2003 at 01:06:37PM -0400, Derek Broughton wrote: > From: "Ivan Uemlianin" <[EMAIL PROTECTED]> > > > > I had a perfectly good Apache installation; broke it (by accident) and > > hacked a fix. But I'd like to know what happened and how to fix it > > properly. > > > > The error I was getting is: > > > > debian:/# apache > > > > apache: error while loading shared libraries: libdb.so.2: cannot open > > shared object file: No such file or directory
If I recall the original email correctly, you almost had the right fix. The problem is that libdb.so.2 is supposed to be a generic link for version 2 of the library to the specific version 2 library that was installed. For example (and I know I don't have the numbers exactly correct) you said you had libdb.so.2.1.0 - that's the release of the version 2 library that was installed. You should have symbolically linked libdb.so.2 to libdb.so.2.1.0 - I think you linked it to the version 3 library (libdb.so.3.x.y) which might work in most cases, and might always work for your particular program. However, changing a major version number implies an interface change, or at least some incompatibility with the previous version. I'm not surprised that uninstalling a package doesn't restore the link, but as Ivan said, reinstalling should restore the link as that will be one of the post-install operations. HTH -- /~\ The ASCII Ken Weinert [EMAIL PROTECTED] \ / Ribbon Campaign 303-858-6956 (V) 303-705-4258 (F) X Against HTML GnuPG: 9274F1CE GnuPG available at http://www.gnupg.org/ / \ Email! 1D87 3720 BB77 4489 A928 79D6 F8EC DD76 9274 F1CE Best file compression around: "DEL *.*" = 100% compression
pgpqCYzhBwpB2.pgp
Description: PGP signature