Hello,
After I have figured out _tkinter.so issue, I tried PyInstall under
Solaris environment.
It still failed to find a path to TCL/TK.
I debugged into the PyInstaller scripts and found that it was because
the generated output from ldd on Solaris and the generated output from
ldd on Linux are in different formats.
libc.so.6 => /lib64/libc.so.6 (0x00002b8a5c627000) {Linux}
libtk8.5.so => /usr/local/lib/libtk8.5.so {Solaris}
In the bindepend.py script, there is a regular expression to extract
the file name and the path:
bindepend.py (line 284 of 330)
m = re.search(r"\s+(.*?)\s+=>\s+(.*?)(\s+\(.*\))?", line)
This expression works fine with the ldd output from Linux but doesn't
work with the ldd output from Solaris.
I have changed the regular expression to:
m = re.search(r"\s+(.*?)\s+=>\s+(.*?)(\s+|$)", line)
Then, finally PyInstaller recognized the TCL/TK installation under
Solaris.
It would be very nice if PyInstaller updated the bindepend.py so that
the PyInstaller works on Solaris platform as well. As stated in my
another posting, PyInstaller won't recognized TCL/TK installation
unless _tkinter.so is in lib-dynload directory and Python was built
with "shared" option.
Hope this posting will help others.
Cheers,
Aki Niimura