Help: Python2.3 & Python2.4 on RHEL4 x86_64

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 24 14:09:54 EDT 2006


Christopher Taylor schrieb:
> I disagree. From what I see, the error, as far as python is
> considered, is not being able to specify the location where libs are
> put, despite the fact that the --LIBDIR=  option is listed.   It just
> happens to manifest itself in AMD64/EM64T Linux, specifically RH linux
> where 64bit libs are put in /usr/lib64 and 32bit libs in /usr/lib.

Ok. One solution might be to remove the libdir option, then. Python
attempts to be "movable", i.e. the libraries are found relative to
the executable (via dirname(sys.executable)+"../lib/..."). If
libdir is supported, this approach must be given up - or libdir must
be given up.

>> The x86_64 community has been using Python for a while, and
>> apparently has solved this problem already. You should try
>> to find out how they did it.
> 
> Where might I go to look on how to get this working?

The Linux distributions already provide Python binaries (I believe
Redhat does, too). You could study what they do to achieve that.

> P.S.  I posted on python-dev and I haven't seen my post show up yet,
> nor any responces .... is that list moderated?

No, it should show up automatically.

Regards,
Martin



More information about the Python-list mailing list