I'm trying to compile Python (2.6.5) on a 64bit system, using the following options:
./configure --prefix=/usr --libdir=/usr/lib64
however, libpython isn't being installed in /usr/lib64, but rather /usr/lib. This means when I invoke python from the commandline an error is raised.
I know I can hack round the problem by adding a symlink to the .so file in /usr/lib but that's not really fixing, nor understanding, the problem.
What do I need to do to get Python to install correctly?