Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 185103

Summary: Python distutils reports incorrect lib location (2)
Product: Red Hat Enterprise Linux 3 Reporter: Tru Huynh <pasteur>
Component: pythonAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-20 23:21:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tru Huynh 2006-03-10 17:32:39 UTC
Description of problem:


Version-Release number of selected component (if applicable):
python-2.2.3-6.2.x86_64

How reproducible:

Always

Steps to Reproduce:
1. python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(),
sysconfig.get_python_lib(1)'
2.
3.
  
Actual results:
/usr/lib64/python2.2/site-packages /usr/lib64/python2.2/site-packages

Expected results:
/usr/lib/python2.2/site-packages /usr/lib64/python2.2/site-packages

Additional info:
python (2.3) on RHEL4 works fine:
[tru@myganne ~]$ python -c 'from distutils import sysconfig; print
sysconfig.get_python_lib(), sysconfig.get_python_lib(1)'
/usr/lib/python2.3/site-packages /usr/lib64/python2.3/site-packages
[tru@myganne ~]$ rpm -q python
python-2.3.4-14.1.x86_64

Comment 1 Tru Huynh 2006-03-10 17:34:12 UTC
in the same league as https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144094

also reported (with possible fix) at http://bugs.centos.org/view.php?id=1244


Comment 4 Jeremy Katz 2006-12-20 23:21:41 UTC

*** This bug has been marked as a duplicate of 185352 ***