Hello.
I'm new to Pyinstaller.
I have been trying to make and test an executable file in Linux, Mac OS,
Aix6.1.
The job was nice and beautiful in Linux, Mac OS.
But in AIX6.1 it says there is no libiconv.so.2 and ldd:
/usr/lib/libiconv.a: File is an archive...
I installed the libiconv library and I have permissions to access.
I'm struggling with these errors for several days without finding any
solutions.
I become exhausted and crazy.
Any ideas would be appreciated.
The python code I wrote is simple.
[ hello_smart_card.py ]
# There is no import modules.
if __name__ == "__main__":
print 'hello world'
[ system info ]
OS : AIX 6.1
Machine: PowerPC
Python: 2.7.5
Pyinstaller: 2.1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
solap@localhost: /home/solap/SOLAP_DIST/smart_card_sys_check # python
pyinstaller.py hello_smart_card.py
55 INFO: wrote
/home/solap/SOLAP_DIST/smart_card_sys_check/hello_smart_card/hello_smart_card.spec
174 INFO: UPX is not available.
386 INFO: Processing hook hook-os
1116 INFO: Processing hook hook-time
1134 INFO: Processing hook hook-cPickle
1616 INFO: Processing hook hook-_sre
2415 INFO: Processing hook hook-cStringIO
3064 INFO: Processing hook hook-encodings
3160 INFO: Processing hook hook-codecs
5334 INFO: Extending PYTHONPATH with
/home/solap/SOLAP_DIST/smart_card_sys_check
5334 INFO: checking Analysis
5335 INFO: building Analysis because out00-Analysis.toc non existent
5335 INFO: running Analysis out00-Analysis.toc
5950 INFO: Analyzing
/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/loader/_pyi_bootstrap.py
6085 INFO: Processing hook hook-os
6142 INFO: Processing hook hook-site
6264 INFO: Processing hook hook-encodings
7033 INFO: Processing hook hook-time
7055 INFO: Processing hook hook-cPickle
7591 INFO: Processing hook hook-_sre
8470 INFO: Processing hook hook-cStringIO
9267 INFO: Processing hook hook-codecs
11909 INFO: Processing hook hook-pydoc
12691 INFO: Processing hook hook-email
13051 INFO: Processing hook hook-httplib
13266 INFO: Processing hook hook-email.message
13602 INFO: Analyzing
/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/loader/pyi_importers.py
13920 INFO: Analyzing
/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/loader/pyi_archive.py
14205 INFO: Analyzing
/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/loader/pyi_carchive.py
14500 INFO: Analyzing
/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/loader/pyi_os_path.py
14531 INFO: Analyzing hello_smart_card.py
14532 INFO: Hidden import 'codecs' has been found otherwise
14532 INFO: Hidden import 'encodings' has been found otherwise
14533 INFO: Looking for run-time hooks
ar: 0707-109 Member name libiconv.so.2 does not exist.
dump: /tmp/tmpdir147508/extract/libiconv.so.2: 0654-106 Cannot open the
specified file.
ldd: /usr/lib/libiconv.a: File is an archive.
ldd: /usr/opt/freeware/lib/libcrypto.a: File is an archive.
ldd: /usr/opt/freeware/lib/libssl.a: File is an archive.
ldd: /usr/lib/libbsd.a: File is an archive.
ldd: /usr/lib/libreadline.a: File is an archive.
ldd: /usr/lib/libcurses.a: File is an archive.
Traceback (most recent call last):
File "pyinstaller.py", line 18, in <module>
run()
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/main.py",
line 88, in run
run_build(opts, spec_file, pyi_config)
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/main.py",
line 46, in run_build
PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 1924, in main
build(specfile, kw.get('distpath'), kw.get('workpath'),
kw.get('clean_build'))
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 1873, in build
execfile(spec)
File
"/home/solap/SOLAP_DIST/smart_card_sys_check/hello_smart_card/hello_smart_card.spec",
line 6, in <module>
runtime_hooks=None)
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 446, in __init__
self.__postinit__()
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 309, in __postinit__
self.assemble()
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 677, in assemble
self._check_python_library(binaries)
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/build.py",
line 713, in _check_python_library
python_lib = bindepend.get_python_library_path()
File
"/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/bindepend.py",
line 722, in get_python_library_path
python_libname = findLibrary(name)
File
"/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/bindepend.py",
line 657, in findLibrary
return os.path.join(dir, getSoname(lib))
File
"/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/bindepend.py",
line 665, in getSoname
m = re.search(r'\s+SONAME\s+([^\s]+)', compat.exec_command(*cmd))
File "/home/solap/SOLAP_DIST/smart_card_sys_check/PyInstaller/compat.py",
line 210, in exec_command
return subprocess.Popen(cmdargs,
stdout=subprocess.PIPE).communicate()[0]
File "/opt/freeware/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/opt/freeware/lib/python2.7/subprocess.py", line 1308, in
_execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
--
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.