[Distutils] bdist_rpm and bdist on x86-64

M.-A. Lemburg mal at egenix.com
Fri Apr 15 23:23:56 CEST 2005

Jeremy Sanders wrote:
> On Fri, 15 Apr 2005, M.-A. Lemburg wrote:
>> 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).

Should have been "/usr/local/lib/python2.4".

> Is this a packaging bug in fedora?

No, it's just the way most Linux distro's tweak the Python
setup to support 64-bit along side with 32-bit ones (which
then usually live in /usr/lib et al).

You often have problems with this choice if you want to
build things from source on x86-64. In most cases, you
need to set LDFLAGS to -L/usr/lib64 or edit Makefiles.
to adjust the compiler settings.

Marc-Andre Lemburg

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