You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tarekziade'closed_at=<Date2009-02-05.22:59:27.871>created_at=<Date2009-02-02.18:28:11.956>labels= ['build', 'library']
title='distutils: libpython not found when building python extensions on Solaris when Python was built with --enable-shared'updated_at=<Date2009-02-05.22:59:27.870>user='https://bugs.python.org/dpeterson'
I've had trouble building Python extensions on Solaris if the Python
install I'm using was built with the '--enable-shared' option. In
tracking this down, it appears that the code in
'distutils/command/build_ext.py' contains a number of statements to
detect a similar situation for other platforms and explicitly add the
'lib' dir option for the linker, but there is no similar detection for
Solaris.
I've attached a patch that fixes this and solves the problem for me. I
simply extended the checking for 'linux' and 'gnu' platforms to also
apply for 'sunos' platforms.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: