Corrupted *.so files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello -

I'm trying to build an RPM on a RedHat 9 system.

I have a bunch of files in a tar file (mylib.tgz) including multiple *.so files. Some, but not all, of the *.so files get corrupted during the %install section. When I do an 'll', the size of the file has decreased.

Any idea what causes this or how I can fix it? I pasted a portion of my spec file below.

Erik



IMPORTANT PARTS OF MY SPEC FILE:
define __os_install_post /usr/lib/rpm/brp-compress
%prep
%setup
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/local/lib
cp -pr %{_builddir}/%{name}-%{version}/mylib.tgz $RPM_BUILD_ROOT/usr/local/lib
cd $RPM_BUILD_ROOT/usr/local/lib
tar -xvzf mylib.tgz
rm mylib.tgz

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux