Problem running PyRx in 64 bit machine

Python Prescription - Virtual Screening Tool

Problem running PyRx in 64 bit machine

Postby alfredoq » Tue Aug 07, 2012 7:09 pm

I have just installed PyRx 0.9 in my computer running Ubuntu 10.04 (64 bits). I noticed that this software needs 32 bits support, so as indicated I installed the 32 bit library package (ia-32 libs). I can see that these libraries are now installed under the directory /usr/lib32. My problem is that when I run PyRx (./run.sh) the program exits with the following error:

/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Segmentation fault


So, as far as I uderstant, PyRx is still trying to use the 64 bit libraries (/usr/lib/gio/modules/libgvfsdbus.so). How am I supposed to indicate PyRx to used the whole set of 32 bit libraries installed by ia-32 libs?
Any hint help would be appreciated,
thank you very much in advance
best regards

Alfredo Quevedo
User avatar
alfredoq
Millimolar User
Millimolar User
 
Posts: 3
Joined: Sun Jun 21, 2009 5:52 pm

Re: Problem running PyRx in 64 bit machine

Postby sargis » Wed Aug 08, 2012 3:40 am

Thank you for the message. I did a quick search on /usr/lib/gio/modules/libgvfsdbus.so and found these links that might be helpful.

https://answers.launchpad.net/ubuntu/+s ... tion/98762
https://bugs.launchpad.net/ubuntu/+sour ... bug/190227

I don't have access to Ubuntu 10.04 (64 bits) to try these suggestions, but if you can try them, please let us know if it works for you.

There seems to be another major problem with 64 bit Ubuntu, in that it doesn't have 32 bits support for libGL. I recently wrote a blog post about installing Nvidia driver on CentOS 6 - http://pyrx.sourceforge.net/blog/103-in ... n-centos-6. I don't know if this would work on 64 bit Ubuntu though.
User avatar
sargis
Site Admin
Site Admin
 
Posts: 404
Joined: Fri Oct 17, 2008 10:39 pm

Re: Problem running PyRx in 64 bit machine

Postby alfredoq » Wed Aug 08, 2012 11:45 am

Thank you very much Sargis for your answer. Based on your solutions cited in the links, I setted the environment variable LD_LIBRARY_PATH as follows:

export LD_LIBRARY_PATH=/usr/lib32

then I run ./run.sh and got a "Segmentation Fault". It seem that it now is using the correct library but something else is wrong. Any hint on how can I track this error?

Thank you very much again,


Best regards
Alfredo
User avatar
alfredoq
Millimolar User
Millimolar User
 
Posts: 3
Joined: Sun Jun 21, 2009 5:52 pm

Re: Problem running PyRx in 64 bit machine

Postby sargis » Wed Aug 08, 2012 2:59 pm

You are very welcome Alfredo and thank you for the update. My guess is that this "Segmentation Fault" is due to missing 32-bit libGL. Search for install 32 libgl ubuntu.

I plan to make 64-bit PyRx binaries that should solve most of these issues. If anyone is interested or willing to help with this please let me know.
User avatar
sargis
Site Admin
Site Admin
 
Posts: 404
Joined: Fri Oct 17, 2008 10:39 pm

Re: Problem running PyRx in 64 bit machine

Postby alfredoq » Thu Aug 09, 2012 11:09 am

Ok Sargis. I will track the problem in this direction. I will report in case I can solve it.
I am not very used to using Linux, so I dont think I would be very useful to help in developing a 64 bit version of PyRx. In case I can help in testing the performance or something like that please let me know.
Best regards
Alfredo
User avatar
alfredoq
Millimolar User
Millimolar User
 
Posts: 3
Joined: Sun Jun 21, 2009 5:52 pm


Return to PyRx

Who is online

Users browsing this forum: No registered users and 1 guest

cron