How to build executable from python script with different gdk, gtk and glibc version?
I have tried to build a simple python application (with wxpython) using bbfreeze and it worked perfectly on the system I built it.
But when I run the executable on another system, it just cannot run with error:
ImportError: /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol: g_resources_get_info
I know it is caused by different versions of libgdk_pixbuf installed on systems, but bbfreeze just does not copy the gtk, gdk, pango, glib shared libraries. And I think cx_freeze and pyinstaller will do the same thing.
So what can I do to build an executable which can run with different versions of gdk, gtk and glibc?
Is there any tools in linux to build fully standalone executables like py2app and py2exe do?
Cheers.
|