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.

Author ronaldoussoren
Recipients eric.araujo, ned.deily, ronaldoussoren, skip.montanaro
Date 2011-03-09.14:16:59
SpamBayes Score 2.8435626e-10
Marked as misclassified No
Message-id <1299680221.1.0.658121493994.issue11445@psf.upfronthosting.co.za>
In-reply-to
Content
It is --enable-shared that is the culprit, but in the negated form...

The OSX linker will search the entire link path for a shared library before trying to look for a static library. As a workaround you could use '--enable-shared', and that should ensure that you get linked to the python version you're actually building as it is earlier on the path.

A proper fix is to add "-Wl,-search_paths_first" to the linker flags on OSX, with that flag the linker behaves just like the linker on any other unix platform.
History
Date User Action Args
2011-03-09 14:17:01ronaldoussorensetrecipients: + ronaldoussoren, skip.montanaro, ned.deily, eric.araujo
2011-03-09 14:17:01ronaldoussorensetmessageid: <1299680221.1.0.658121493994.issue11445@psf.upfronthosting.co.za>
2011-03-09 14:16:59ronaldoussorenlinkissue11445 messages
2011-03-09 14:16:59ronaldoussorencreate