foldit does not run on Fedora 10

Started by stephenadler

stephenadler Lv 1

I'm running fedora 10 and I get the following error when I run foldit.

[adler@office01 Foldit]$ ./Foldit
Foldit Error: The game has previously not started up correctly.
If this problem persists, please install the latest version.
Foldit Error: Could not load library: libglut.so.3: cannot open shared object file: No such file or directory.

admin Staff Lv 1

Do you have glut installed? Search for freeglut in your package manager, install it and try again.

Alexander Mihajlovic Lv 1

I get the exact same error message:
Foldit Error: Could not load library: libglut.so.3: cannot open shared object file: No such file or directory.

It just happens to be that I also have the latest available version of freeglut installed.
"Package freeglut-2.4.0-14.fc9.x86_64 already installed and latest version"

Could it be that the problem only affects x64 users?

admin Staff Lv 1

The error message seems to indicate libglut.so.3 is not provided by your freeglut. Can you check which version it provides?

Alexander Mihajlovic Lv 1

Some quick grepping tells me that I have the 64-bit version of the required file.

[alexander@localhost usr]$ find | grep libglut
./lib64/libglut.so.3
./lib64/libglut.so.3.8.0

After creating a symlink to /usr/lib64/libglut.so.3 in /lib/ I got the following error:

Foldit Error: Could not load library: libglut.so.3: wrong ELF class: ELFCLASS64.

It seems obvious to me that I need to install the 32-bit version of the library. Unfortunately I do not know how to do that. Maybe someone who is more familiar with Fedora or GNU/Linux in general could help out?

Alexander Mihajlovic Lv 1

Turns out I did know how to install the 32-bit version.

[alexander@localhost ~]$ su
Password: -
[root@localhost alexander]# yum install freeglut-2.4.0-14.fc9.i386

This allowed me to run Foldit and see a window. My luck ends there since all it does is show "Contacting server to check for updates…" and then crash with the following printed to the console:

freeglut Unable to create direct context rendering for window ''
This may hurt performance.
Segmentation fault

I have not yet attempted to find out if this is addressed by some other bug report. I will do that now though.

admin Staff Lv 1

Sorry you are having all this trouble. This bit from the FAQ might help:

Q: I am using a 64-bit Linux distribution and am unable to log in or contact the server in any way, I have tried many times and keep getting error messages. A: You may need to install lib32nss-mdns. Please search for it in your package manager.