Hi Martin,
Today, I had time to look into the AIX patch again. The launcher now
loads the shared libpython2.6.a dynamically on AIX. Also, I have
changed Build.py and bindepend.py in order to get the shared lib
copied to the distribution folder.
So everything works on the AIX machine where I work with pyinstaller.
This machine runs AIX 6.1.
I then moved the produced executables (both packaged as one file and
as a dir) to another AIX machine running AIX 5.2. On this machine the
generated binaries do not run:
-bash-3.00$ dist/test/test
exec(): 0509-036 Cannot load program dist/test/test because of the
following errors:
0509-130 Symbol resolution failed for test because:
0509-136 Symbol mkdtemp (number 41) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
As you can see, the function 'mkdtemp' is missing from 'libc'.
Inspecting 'libc' on the two machines reveals that this is indeed a
difference:
AIX 5.2 machine:
--------
-bash-3.00$ dump -Tv /usr/lib/libc.a
<..snip..>
[1203] 0x000440dc .data EXP DS SECdef [noIMid]
ftw64
[1204] 0x000440e8 .data EXP DS SECdef [noIMid]
mkstemp64
[1205] 0x000440f4 .data EXP DS SECdef [noIMid]
mkstemp
<..snip..>
AIX 6.1 machine:
--------
<..snip..>
[1448] 0x0006cc90 .data EXP DS SECdef [noIMid]
ftw64
[1449] 0x0006cc9c .data EXP DS SECdef [noIMid]
mkdtemp <--- HERE IT IS
[1450] 0x0006cca8 .data EXP DS SECdef [noIMid]
mkstemp64
[1451] 0x0006ccb4 .data EXP DS SECdef [noIMid]
mkstemp
<..snip..>
Any ideas how to deal with this problem?
/Martin
--
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.