On Monday 02 of June 2014 14:39:41 Jay S wrote: > Created a Python Script in Python 2.6 on RHEL Release 6.2. Using > pyinstaller 2.1, created the executable and migrated to a different server > running RHEL Release 4.8. Now encounter the following error while running > the executable on the other server. > > libz.so.1: requires glibc 2.5 or later dynamic linker > > Any thoughts on how the issue can be resolved besides upgrading the server > to a higher release of RHEL.? > > Thanks
PyInstaller only packages everything together. RHEL6 libraries are bundled with the executable and RHEL6 libraries require glibc 2.5 or later. You should create the executable on RHEL4. There is however only python 2.4. You have to fix your script to run on 2.4 or somehow get python 2.6 on RHEL4. Then you should be able to create exe on your RHEL4 installation that should run on your server.
signature.asc
Description: This is a digitally signed message part.
