Bugs item #1655392, was opened at 2007-02-08 18:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1655392&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marien Zwart (marienz)
Assigned to: Nobody/Anonymous (nobody)
Summary: thirdparty extensions, --enable-shared, static linking

Initial Comment:
(I'm filing this under the "Build" category which may not be entirely accurate, 
but couldn't find a closer match. Is there a description of what the categories 
mean somewhere?).

Python 2.5 built with --enable-shared on linux produces a shared 
libpython2.5.so in the "normal" libdir and only a static libpython2.5.a in 
/usr/lib/python2.5/config. Normally when you build extensions you want them to 
link to the dynamic one. However python-config --ldflags has 
-L/usr/lib/python2.5/config in its output, causing build processes using it to 
prefer the static library over the dynamic one.

This is somewhat similar to bug 1600860: distutils does the same thing when 
compiling extensions in an --enable-shared python 2.5.

I think either python-config should be modified to not mention that "config" 
dir on an --enable-shared build or the build process should be modified to put 
a .so file next to the .a file in that directory.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1655392&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to