Hi,
My python is static:ldd.txt

I create binary using attached steps: steps.txt

However binary fails to execute giving
Python library not found.
Segmentation faul(core dump)

Note: Python was already present in my distribution.

I applied patch 420:
http://www.pyinstaller.org/ticket/420

But this did not help much.

Thanks,
Nitu

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


ldd `which python`                        
        linux-gate.so.1 =>  (0xb77cb000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb779a000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7795000)
        libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xb7790000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7777000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75c4000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7581000)
        /lib/ld-linux.so.2 (0xb77cc000)
/usr/local/pyinstaller-2.0/utils/Makespec.py domain_GUI1.py
wrote /home/nituk/nitu/Python/Domain/domain_GUI1.spec
now run Build.py to build the executable


nituk$/usr/local/pyinstaller-2.0/utils/Build.py domain_GUI1.spec
51 INFO: UPX is not available.
726 INFO: checking Analysis
733 INFO: building because /usr/local/pyinstaller-2.0/PyInstaller/loader/iu.pyc 
changed
733 INFO: running Analysis out00-Analysis.toc
765 INFO: Analyzing /usr/local/pyinstaller-2.0/support/_pyi_bootstrap.py
1440 INFO: Analyzing /usr/local/pyinstaller-2.0/PyInstaller/loader/archive.py
1487 INFO: Analyzing /usr/local/pyinstaller-2.0/PyInstaller/loader/carchive.py
1576 INFO: Analyzing /usr/local/pyinstaller-2.0/PyInstaller/loader/iu.py
1592 INFO: Analyzing domain_GUI1.py
1732 INFO: checking Tree
1736 INFO: checking Tree
1974 INFO: Hidden import 'encodings' has been found otherwise
1975 INFO: Looking for run-time hooks
1975 INFO: Analyzing rthook 
/usr/local/pyinstaller-2.0/support/rthooks/pyi_rth_encodings.py
2013 INFO: Analyzing rthook 
/usr/local/pyinstaller-2.0/support/rthooks/pyi_rth_Tkinter.py
2828 INFO: Looking for Python library libpython2.7.so
objdump: section '.dynamic' mentioned in a -j option, but not found in any 
input file
2879 INFO: 
/home/nituk/nitu/Python/Domain/build/pyi.linux2/domain_GUI1/out00-Analysis.toc 
no change!
2883 INFO: checking PYZ
2887 INFO: building because 
/usr/local/pyinstaller-2.0/PyInstaller/loader/iu.pyc changed
2887 INFO: building PYZ out00-PYZ.toc
3863 INFO: checking PKG
3863 INFO: building because 
/home/nituk/nitu/Python/Domain/build/pyi.linux2/domain_GUI1/out00-PYZ.pyz 
changed
3863 INFO: building PKG out00-PKG.pkg
3872 INFO: checking EXE
3872 INFO: rebuilding out00-EXE.toc because pkg is more recent
3872 INFO: building EXE from out00-EXE.toc
3872 INFO: Appending archive to EXE 
/home/nituk/nitu/Python/Domain/build/pyi.linux2/domain_GUI1/domain_GUI1
3875 INFO: checking COLLECT
WARNING: The output directory "/home/nituk/nitu/Python/Domain/dist/domain_GUI1" 
and ALL ITS CONTENTS will be REMOVED! Continue? (y/n)y
40858 INFO: Removing dir /home/nituk/nitu/Python/Domain/dist/domain_GUI1
40879 INFO: building COLLECT out00-COLLECT.toc


Reply via email to