On sab, 2009-06-20 at 03:31 -0700, sandro dentella wrote:
> Hi,
> 
>   The same configuration that generates working executable under
> Windows
>   fails under Linux with the following error. Really it works on the
> machine
>   that generated it but fails when run on a different machine.
> 
>   I generated it under ubuntu 8.04, it fails with the same error under
>   ubuntu 8.10 and ubuntu 9.04. It complains libffi.so.4: no such file
> or
>   directory, but that file is present in the dir created by
> pyinstaller.
> 
>   Analizing wih strace -e trace=open (http://dpaste.com/57495/) you
> can see
>   that it searches in the real filesystems and does not search in the
> dir
>   generated by pyinstaller (/home/sandro/src/skdir/sqledit)
> 
>   Any hints?

PyInstaller does set LD_LIBRARY_PATH to the directory where it's running
from (in one-dir mode). Try printing the contents of that environment
variable at the beginning of the program, before importing GTK.

So, I'm unsure why it's being ignored when you change the Linux version.
Can you maybe help debugging this? It's probably related to ld.so
configuration or something like that.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com



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