[Distutils] bdist_rpm and bdist on x86-64

M.-A. Lemburg mal at egenix.com
Fri Apr 15 22:08:29 CEST 2005


Jeremy Sanders wrote:
 > ...
> Under the posix section, distutils assumes that Python is installed in 
> /usr/lib/python-X.X, where it's really in /usr/lib64/python-X.X. This is 
> clearly a distutils bug. Distutils should be looking under lib64 for 
> 64-bit x86 systems.
> 
> All linux x86-64 distributions use lib64 instead of lib for 64 bit 
> libraries. 

Just as note: distutils should read this from the Makefile rather
than trying to guess - whether or not lib64 is used depends on the
distribution, the way the particular Python version was installed,
etc. (e.g. a user installed Python version will still install
to /usr/lib per default - even on 64-bit platforms).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Apr 15 2005)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Distutils-SIG mailing list