This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2009年03月18日 23:06 by jhowarth, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg83792 - (view) | Author: Jack Howarth (jhowarth) | Date: 2009年03月18日 23:06 | |
The libpython3.0.a created for Python 3.0.1 isn't a normal static library. file /System/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/c onfig/libpython3.0.a /System/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/c onfig/libpython3.0.a: Mach-O universal binary with 3 architectures /System/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/c onfig/libpython3.0.a (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /System/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/c onfig/libpython3.0.a (for architecture i386): Mach-O dynamically linked shared library i386 /System/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/c onfig/libpython3.0.a (for architecture ppc7400): Mach-O dynamically linked shared library ppc Due to a bug in Darwin's ar, extraction the object files in this abnormal static libraries has been possible with 'ar x'. This bug in ar will be fixed in the next Xcode and the abnormal static library that python creates will no longer be able to serve as a substitute for a true static library. The libpython#.#.#.a files in config should be made into normal static libraries for all the currently supported versions of python when built as frameworks. |
|||
| msg84556 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2009年03月30日 14:49 | |
Jack: do I understand you correctly when I interpret your message to mean that libpython3.0.a inside the Python framework won't be usable as a library that's linked using '-lpython3.0' in a future edition of Xcode? That would be a bummer. The current name was chosen because some 3th party code explicitly looks for a '.a' file (IIRC mod_python is one of those). BTW. libpython3.0 is a symlink to the dylib in the Python.framework, specifically to allow applications that try to link to libpython to work. |
|||
| msg87982 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2009年05月17日 10:36 | |
Jack: could you please explain what the issue is? Unless you do so I will close this issue as "won't fix". In particular: will linking with "-lpython3.0" work with this hypothetical future version of Xcode you're talking about? As mentioned before "libpythonX.Y.a" is present for compatibility with a number of popular 3th-party tools that have manually written makefiles that expect this library to be present. Making the file a symlink to the actual dylib in the framework seems to work as intented as the moment: the executable gets linked to the framework (just as if it was linked with "-framework Python") |
|||
| msg92304 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2009年09月06日 12:11 | |
I'm closing this issue because the user does not respond to my questions and because I don't agree there is a problem. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:46 | admin | set | github: 49764 |
| 2009年09月06日 12:11:47 | ronaldoussoren | set | status: open -> closed resolution: not a bug messages: + msg92304 |
| 2009年05月17日 10:36:29 | ronaldoussoren | set | assignee: ronaldoussoren |
| 2009年05月17日 10:36:05 | ronaldoussoren | set | messages: + msg87982 |
| 2009年03月30日 14:49:26 | ronaldoussoren | set | nosy:
+ ronaldoussoren messages: + msg84556 |
| 2009年03月18日 23:06:53 | jhowarth | create | |