Pyinstaller Executable file gets corrupted after prelink
Using PyInstaller a set of executables are created and packaged into an rpm. The files from the rpm are installed into /usr/bin directory. It works fine for sometime.
But after sometime it errors as "Cannot open self /usr/bin/nova or archive /usr/bin/nova.pkg".
On watching the file using auditctl it is found that "prelink" was executed on the file /usr/bin/nova.
The file size got reduced from 10MB to 1.5MB.
Could anyone help to find what does prelink do to corrupt the file? Is there any issue in the way the executable has been created?
|