Bug 219564 - Distutils link with static libpython by default
Distutils link with static libpython by default
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2006-12-13 18:11 EST by Miloslav Trmač
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-06 16:43:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
An empty extension module (10.00 KB, application/octet-stream)
2006-12-13 18:11 EST, Miloslav Trmač
no flags Details

  None (edit)
Description Miloslav Trmač 2006-12-13 18:11:52 EST
Version-Release number of selected component (if applicable):

Attached is a trivial extension module.  Running (python setup.py build) ends with
  gcc -pthread -shared build/temp.linux-i686-2.5/foo.o
-L/usr/lib/python2.5/config -lpython2.5 -o build/lib.linux-i686-2.5/foo.so

and foo.so contains /usr/lib/python2.5/config/libpython2.5.a .

Obviously, one Python interpreter per extension module won't work very well...
Comment 1 Miloslav Trmač 2006-12-13 18:11:52 EST
Created attachment 143574 [details]
An empty extension module
Comment 2 Jeremy Katz 2007-01-06 16:43:10 EST
Should be fixed with -8

Note You need to log in before you can comment on or make changes to this bug.