Re: unpacking of archive failed...MD5 sum mismatch
"Jeff Johnson" <[email protected]> Thu, 8 May 2008 07:38:03 -0400
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 8, 2008 at 1:18 AM, John Newbigin <[email protected]> wrote: > I just did rpm -V and got the following output:prelink: > /opt/mathematica-6.0/SystemFiles/Libraries/Linux/libPHANToMIO.so.4: at least > one of file's dependencies has changed since prelinking > S.?..... > /opt/mathematica-6.0/SystemFiles/Libraries/Linux/libPHANToMIO.so.4 > > This is the first build I did but it may well be related to prelink in > some way. Is there a specific detection for prelink or is it assumed that > if the md5sum is changed it must be because of prelink? > > Perhaps there is something in that file which is confusing rpm. If I get > a chance I will create a package with only that file. > Yes. prelinking changes library contents. rpm expects that the MD5 digest is for unprelinked libraries. prelinking is a transform applied to libraries on the client install machine, since the prelink changes can/will be different on every client install. Since the build machine is also a "client", and you have packaged a prelinked library. The best fix (as pointed out) is to run prelink --undo on the build machine. 73 de Jeff _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list