Member Site Forums PyRosetta PyRosetta – Build/Install pyRosetta cann’t work on RHEL 5.2 X86_64 BIT? Reply To: pyRosetta cann’t work on RHEL 5.2 X86_64 BIT?

#4261
Anonymous

    > When I :
    > >>>from rosetta import *
    > I got :
    > ImportError: rosetta/utility/_rosetta_utility.so: wrong ELF class
    > ELFCLASS32
    >
    > It doesn’t support 64 bit linux now?

    I believe that if you have 32-bit libraries installed AND use 32-bit python and ipython binaries, PyRosetta will work.

    My solution is to run PyRosetta from a 32-bit system in a chroot jail. I am not familiar with RHEL but the chroot procedure is probably similar to that for Ubuntu (http://ubuntuforums.org/showthread.php?t=24575&highlight=32+bit+chroot). A RHEL how-to should be easy to find.
    In the chroot system you must install Python 2.5 and download the libboost with UCS4 support (see Mac OS 10.6 thread) or recompile Python with –enable-unicode=ucs2.