[Clfs-support] Python2.7 problem

Ian ebol4 at metalmetalland.com
Wed Feb 20 06:49:51 PST 2013


In the 64-bit Python binary, for some reason, the lib directory is
hardcoded to be /usr/lib. You have to move the 32-bit libs to a backup
folder ( mv /usr/lib/python/lib-dynload{,-32}), then symlink to the 64-bit
folder ( ln -sv /usr/lib64/python/lib-dynload /usr/lib/python/ (I think, I
can never remember the syntax for ln)).

So /usr/lib/python/lib-dynload actually goes to the lib64 directory now.
Just switch it back when you need the 32-bit libs again. I used to have a
script for this to make it faster, but I don't anymore. I'd recommend just
writing up something quick in bash so you don't have to type the commands
every time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20130220/1fa2447e/attachment-0001.htm>


More information about the Clfs-support mailing list