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 catalin.iacob
Recipients Arfrever, catalin.iacob, doko, eric.araujo, ita1024, nathanr, rpetrov, skip.montanaro
Date 2013-08-01.20:55:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375390541.98.0.965779742371.issue15631@psf.upfronthosting.co.za>
In-reply-to
Content
In reply to msg168184, LIBDIR is set to include lib64 instead of lib because openSUSE explicitly does it that way in their multilib implementation.

More specifically, the CONFIG_SITE environment variable is set to /usr/share/site/x86_64-unknown-linux-gnu which contains, among more stuff:

catalin@opensuse:~/hacking/cpython> cat $CONFIG_SITE  | grep libdir
# If user did not specify libdir, guess the correct target:
if test "$libdir" = '${exec_prefix}/lib' ; then
                libdir='${exec_prefix}/lib64'


/usr/share/site/x86_64-unknown-linux-gnu is owned by package site-config whose README says:

site-config: Site Paths Configuration for autoconf Based configure Scripts
==========================================================================

Site configuration for autoconf based configure scripts provides smart
defaults for paths that are not specified.

All autoconf based configure scripts will automatically resource site
script using CONFIG_SITE environment variable. It works without any
explicit user interaction.

Currently implemented features:


Automatic libdir setup to $exec_prefix/lib or $exec_prefix/lib64
----------------------------------------------------------------

Depending on architecture, site script should correctly and
automatically switch between lib and lib64 libdir.


libexecdir setup to $exec_prefix/lib
------------------------------------

Upstream libexecdir defaults to $exec_prefix/libexec. This directory is
not part of FHS 2.2, so we change it to $exec_prefix/lib (yes, it is
correct to set it to $exec_prefix/lib even for bi-arch platforms). Most
projects add package name to this path, so you most probably get what
FHS 2.2 expects.
History
Date User Action Args
2013-08-01 20:55:42catalin.iacobsetrecipients: + catalin.iacob, skip.montanaro, doko, eric.araujo, rpetrov, Arfrever, ita1024, nathanr
2013-08-01 20:55:41catalin.iacobsetmessageid: <1375390541.98.0.965779742371.issue15631@psf.upfronthosting.co.za>
2013-08-01 20:55:41catalin.iacoblinkissue15631 messages
2013-08-01 20:55:41catalin.iacobcreate