On Thu, 2010-12-02 at 15:13 +0100, Thorsten Kampe wrote:
> Hi,
> 
> I've never been successful creating a (stand-alone) executable on Linux. 
> While the creation process succeeds and I can run the stand-alone 
> executable on the machine where I created it, it will not run on other 
> hosts (SUSE Linux Enterprise Server 10 SP2 for instance).
> 
> ./my_application
> Traceback (most recent call last):
>   File "<string>", line 14, in <module>
>   File "/home/thorsten/python/pyinstaller/iu.py", line 436, in 
> importHook
>   File "/home/thorsten/python/pyinstaller/iu.py", line 495, in doimport
>   File "/home/thorsten/python/pyinstaller/iu.py", line 297, in getmod
>   File "/home/thorsten/python/pyinstaller/archive.py", line 468, in 
> getmod
>   File "/home/thorsten/python/pyinstaller/iu.py", line 109, in getmod
> ImportError: /lib/libc.so.6: version `GLIBC_2.9' not found (required by 
> /tmp/_MEIPbsjVL/libQtCore.so.4)
> 
> On this machine I am running glibc-2.4 (the latest one for this 
> machine), on the machine where the stand-alone was created, it's 2.12.1.
> 
> Does PyInstaller on Linux depend on the glibc version? If so, doesn't 
> that defy the whole sense of creating stand-alone executables?

PyInstaller just packs the files on your computers together. If those
files depend on a specific GLIBC, the only solution would be to ship
glibc as well, but this has proven to create more problems than it
solves. In a word, PyInstaller cannot compensate for the absence of an
ABI.

Our suggestion is to try and execute PyInstaller on the older operating
system that you plan to support. This usually achieves the best results,
because GLIBC developers maintain backward binary compatibility.
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it
Last post: Compile-time Function Execution in D

-- 
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.

Reply via email to