Message151427
| Author |
jcea |
| Recipients |
eric.araujo, jcea, tarek |
| Date |
2012年01月17日.04:08:38 |
| SpamBayes Score |
1.5319631e-09 |
| Marked as misclassified |
No |
| Message-id |
<1326773319.51.0.412338546649.issue13803@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When compiling modules under Solaris, distutils generates directories like "build/lib.solaris-2.10-i86pc-3.2". The "i86pc" part is the same both in 32 and 64 bits.
So when building 32 and 64 bit C code, the binaries are mixed and the best result you can get is something like:
"""
ImportError: ld.so.1: python: fatal: /home/pybsddb/build/lib.solaris-2.10-i86pc-2.7/bsddb3/_pybsddb.so: wrong ELF class: ELFCLASS64
"""
In other platforms, bitness is correctly detected and included in the directory name.
Since Solaris is explicitly managed in the sourcecode ("distutils.util.get_platform()"), adding "platform.architecture()[0]" in the directory name seems trivial.
I think this patch should be applied to 2.6 and 3.1, unless they are open only for security fixes. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月17日 04:08:39 | jcea | set | recipients:
+ jcea, tarek, eric.araujo |
| 2012年01月17日 04:08:39 | jcea | set | messageid: <1326773319.51.0.412338546649.issue13803@psf.upfronthosting.co.za> |
| 2012年01月17日 04:08:38 | jcea | link | issue13803 messages |
| 2012年01月17日 04:08:38 | jcea | create |
|