Friday, August 26, 2005

cpio: MD5 sum mismatch on rpms created during build process under updated fedora-core3

This is the error message while running
$rpm -ihv *.rpm

error: unpacking of archive failed on file /opt/openoffice.org1.9.125/program/;430edcb0: cpio: MD5 sum mismatch

Error is for this package

After complete installation of the packages when we run $ command it give error of shared objects(*.so.) not found for "javaldx" and "soffice.bin".

If you've been seeing these under "Updated fedora" it's because /lib/
is normally prelinked and this isn't working well with the normal rpm architecture for fedora, as a hackaround comment out the
%__prelink_undo_cmd /usr/sbin/prelink prelink -y library in /etc/rpm/macros.prelink

See for details.

Alternatively when it makes its way into a release, configure oosource --with-system-stdlibs will avoid the problem.

Well if one don't want to do the above steps, he can run the same rpm command as:
$rpm --nomd5 -ihv *.rpm
The above command will not check for md5sum and all the packages will be installed and i think it will work fine also. As in my case OO is running without any fail.

But the correct way is to configure it with the above said option.

I think this problem is with the updated version of fedora-core3 but i am not sure about it right now.


Anonymous said...

Very nice blog! I have bookmarked your site and I'll be back. I hope you will visit my internet shopping at Enduring Collections. We cater to upscale internet shopping in a department store format, great deals often below retail.

Nasimuddin Ansari said...

For me, before doing rpmbuild, use "/usr/sbin/prelink -u " on the file reporing MD% sum mismatch resolved the problem.