Erik píše v St 12. 01. 2011 v 19:23 -0800: > I am trying to compile an python app I have written on a 64bit RHEL 5 > system. This application is only going to be used on other 64bit RHEL > 5 systems. I would think it would be possible to compile the app in > the "onedir" format, but have the application look to the /usr/lib64 > or /lib directory for the libraries it needs to run, however I can't > seem to get this behaviour no matter what options I pick. > > Is this just not possible? Or am I just missing something? > > Thanks, > -Erik
You will need to customize the C code of the bootloader. The bootloader is setting 'LD_LIBRARY_PATH' environment variable. So perhaps you should customize that code and recompile the bootloader. The 'LD_LIBRARY_PATH' is handled in: ./trunk/source/linux/utils.c How to recompile the bootloader can be found in the manual. However the way to do that depends on the pyinstaller version: pyinstaller 1.4: http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html?format=raw Pyinstaller 1.5rc1 and up: http://www.pyinstaller.org/export/latest/trunk/doc/Manual.html?format=raw -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
