Re: relocation error after applying patch
Nalin Dahyabhai <[email protected]>
| Newsgroups | gmane.linux.redhat.release.seawolf |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Wed, Feb 12, 2003 at 10:22:49AM +0800, S.T. Wong wrote: > I installed the latest security patch for openldap [RHSA-2003:040-10]. One of > the software we're using failed to start with error : > > relocation error: /opt/dcelocal/lib/libdce.so.1.0.1: Undefined symbol: fstat > > The shared library in trouble depends on /usr/lib/libldap.so.2 and > /usr/lib/liblber.so.2. I've to revoke to previous patch level to fix the > problem. > > I suppose the updated shared libraries in patches are backward compatible, and > shouldn't crash current applications. Would anyon please advise? They should be identical from a binary interface perspective, and from what I can tell, neither the original version included with 7.1 nor the current erratum supply this symbol. Both versions also link to the same set of libraries, so I don't see how changing libldap would have caused this to fail. If you run "ldd /opt/dcelocal/lib/libdce.so.1.0.1" (or better still, the application) and one of the listed libraries is libkrb5, then that would explain it, as we had a problem with an older erratum that produced exactly this symptom. It was corrected in a subsequent erratum, though. HTH, Nalin