Hi Dave

On Mon, Jan 26, 2009 at 06:48:06PM -0600, Dave Peterson wrote:
> I am trying to build a number of projects that use Python extensions on  
> Solaris 10 and I've discovered that nothing with extensions will link  
> unless I explicitly pass in a '-L/path/to/python/lib/dir' because  
> libpython2.5.so is not otherwise found when the '-lpython2.5' argument  
> is specified during linking.
[...]
> If that all seems correct, then it appears the issue is the  
> finalize_options() source in lib/distutils/commands/build_ext.py.  There  
> are a number of "if" blocks that explicitly append the value of  
> distutils.sysconfig.get_config_vars('LIBDIR') to the list of  
> library_dirs used to link built extensions with.  However, there doesn't  
> seem to be one of these for Solaris / sunos.

Could you point to one of the projects you're having trouble with?  I
haven't had any such problems with Python 2.5 on Solaris 10, distutils
always finds the right things when I'm building extension modules.


Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to