Here are some more test details: I created final package on kubuntu karmic 9.10 using lsb based bootloader. First I tested on a freshly installed karmic with no dependencies installed. bootloader executes and app is working fine. Secondly I tested on ubuntu 8.04.4 LTS to check the binary dependency issue, bootloader executes but there was a problem. The libraries that was included by pyinstaller on karmic 9.10 are not compatible with glibc version on ubuntu LTS. There were 7 of them:
/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.9' not found (required by /home/prashant/installed/dist-gtk/libgio-2.0.so.0 /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.8' not found (required by /home/prashant/installed/dist-gtk/libglib-2.0.so.0) /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.8' not found (required by /home/prashant/installed/dist-gtk/libselinux.so.1) /home/prashant/installed/dist-gtk/libgobject-2.0.so.0: undefined symbol: g_array_ref /home/prashant/installed/dist-gtk/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal /home/prashant/installed/dist-gtk/libgdk-x11-2.0.so.0: undefined symbol: g_emblemed_icon_get_icon /home/prashant/installed/dist-gtk/libgtk-x11-2.0.so.0: undefined symbol: gdk_window_remove_redirection I manually copied these libraries from /usr/lib & from /lib folder into dist-gtk folder. Now app is working fine. My question is why pyinstaller is including these libraries along with the package. AFAIK these are the core libraries and present in all modern distros. Am I right here? Even though pyinstaller is taking care of making a package as much independent as it has to be but including these libraries in the final package is problematic. For example if you deploy a package on karmic 9.10 and not including these core libraries, package will run on another freshly installed karmic. However, if you try to execute the app on an older version of OS, that means older version of glibc, it'll produce errors as shown above. In case if you are excluding these core/system libraries, you can create a .deb package and mentioned them in the dependency section. I don't know much about .deb but I think dependencies will get automatically get installed if they are not present. Send me some pointers. Cheers Prashant -- 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.
