From: Ewan Mellor Subject: Re: Why do we use /usr/lib/python to install python libraries? Date: Wed, 14 Jun 2006 17:13:06 +0100 Message-ID: <20060614161306.GA15797@leeni.uk.xensource.com> References: <4488CA32.3060806@us.ibm.com> <20060614073239.GB5840@leeni.uk.xensource.com> <20060614153156.GA3531@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060614153156.GA3531@totally.trollied.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Jun 14, 2006 at 04:31:56PM +0100, John Levon wrote: > On Wed, Jun 14, 2006 at 08:32:39AM +0100, Ewan Mellor wrote: > > > c) make sure that we actually do install into /usr/lib64 on appropriate > > systems. This is a current bug, though I've no idea when it got > > introduced. We need to install into /usr/lib64 because xc.so and xs.so are > > compiled native code. > > Could you clarify this? What happens on 64-bit Linux installations right > now? > > Since the 64-bit cleanness isn't quite there yet, we need to install > both a 64-bit and 32-bit on Solaris. Unfortunately Python doesn't seem > to have much support for running like this (in particular, it'll just > give up if it finds an extension .so of the wrong elf class rather than > looking in a 64-bit path or whatever). My belief was that, because we have native code, on those platforms that normally use /usr/lib64, we ought to be putting our stuff in /usr/lib64. Does anyone know whether this is the case? Currently, all the Python stuff goes into /usr/lib/python, even on platforms with a /usr/lib64 directory. I was assuming that that was a bug, but I don't know for sure. Ewan.