I tried your suggestion (dragging libs out of the build directory) and yes, 
it did 'work.'

Aside:  I dragged one big chunk of libs out, then iterated: running my app 
and restoring libs it could not find.  I only needed to restore two before 
my hacked build started to work.  The two libs are evidently not optional 
in the pyinstaller build ( libpython), or not present on a cleanly 
installed platform(libQtSvg?)  Then my app at least started.  I suppose I 
will keep adding the libraries back in chunks (a binary search strategy) 
until I isolate the one (few?) that crash.

Which leaves me wondering whether it is really a good idea, or that instead 
I should build (and test!) separately for each Linux platform version that 
I intend to support (as I find that my app crashes on new platform 
versions.)  My case is that I want to submit to Ubuntu Software Center as a 
binary, with no dependencies (which is the main idea of pyinstaller.)  The 
suggested solution (hacking the build) creates dependencies (the few libs 
that I am using from the clean, stock installation.)  The dependencies are 
probably trivially satisfied (the target is guaranteed to have the libs 
that are minimal for the platform.)  But I still need to declare the 
dependencies to the packager (say the Canonical team, if they are packaging 
my app for distribution.)  I suppose that is no different than the 
situation for other platforms (say OSX) where a pyinstaller build still 
depends on certain standard libraries of the platform?  Its just a dirty 
little secret of the Linux world that the different distributions (and 
versions) are not as compatible as some might hope for?

Also, as a member of the community, should one try to find out why the 
library is crashiing (the library from an earlier version of a Ubuntu 
distribution that a pyinstaller build is using on a newer version of 
Ubuntu)  I suppose one would need to know whether the newer version was 
intended to be ABI backward compatible.  I don't think I could even easily 
determine that intent.


-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to