linux problems - libglut.so.3


advanced search

Message boards : Number crunching : linux problems - libglut.so.3

Reply to this thread
Subscribe to this thread
Sort
AuthorMessage
ColdRain
private message
Joined: Feb 28, 2006
Posts: 52
ID: 548
Credit: 24,245,377
RAC: 13,162
Message 293 - Posted 1 Mar 2006 16:28:35 UTC
Last modified: 1 Mar 2006 16:59:44 UTC

My problem is somehow related to this thread, but not quite the same.

First of all:
leo:/opt/BOINC# uname -a
Linux leo 2.6.8-1-386 #1 Thu Nov 11 12:18:43 EST 2004 i686 GNU/Linux
leo:/opt/BOINC#

Not the most recent kernel, but not an \"old\" one either.

Boinc log shows the same kind of errors like in the other thread:

2006-03-01 17:11:21 [Leiden Classical] Resetting project
2006-03-01 17:11:21 [---] request_reschedule_cpus: exit_tasks
2006-03-01 17:11:21 [---] request_reschedule_cpus: project op
2006-03-01 17:11:25 [Leiden Classical] Sending scheduler request to http://boinc.gorlaeus.net_cgi/cgi
2006-03-01 17:11:25 [Leiden Classical] Reason: To fetch work
2006-03-01 17:11:25 [Leiden Classical] Requesting 25920 seconds of new work
2006-03-01 17:11:30 [Leiden Classical] Scheduler request to http://boinc.gorlaeus.net_cgi/cgi succeeded
2006-03-01 17:11:32 [Leiden Classical] Started download of classical_5.33_i686-pc-linux-gnu.exe
2006-03-01 17:11:32 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141142610_52
2006-03-01 17:11:34 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141142610_52
2006-03-01 17:11:34 [Leiden Classical] Throughput 8500 bytes/sec
2006-03-01 17:11:34 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141142610_54
2006-03-01 17:11:35 [Leiden Classical] Finished download of classical_5.33_i686-pc-linux-gnu.exe
2006-03-01 17:11:35 [Leiden Classical] Throughput 310834 bytes/sec
2006-03-01 17:11:35 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141142610_54
2006-03-01 17:11:35 [Leiden Classical] Throughput 8049 bytes/sec
2006-03-01 17:11:35 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141142610_50
2006-03-01 17:11:35 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141206180_1140
2006-03-01 17:11:36 [---] request_reschedule_cpus: files downloaded
2006-03-01 17:11:36 [---] request_reschedule_cpus: files downloaded
2006-03-01 17:11:36 [Leiden Classical] Starting result wu_78596477_1141142610_53_0 using classical version 533
2006-03-01 17:11:37 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_53_0 (process exited with code 127 (0x7f))
2006-03-01 17:11:37 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_53_0 (process exited with code 127 (0x7f))
2006-03-01 17:11:37 [---] request_reschedule_cpus: process exited
2006-03-01 17:11:37 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141142610_50
2006-03-01 17:11:37 [Leiden Classical] Throughput 8675 bytes/sec
2006-03-01 17:11:37 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141206180_1140
2006-03-01 17:11:37 [Leiden Classical] Throughput 8892 bytes/sec
2006-03-01 17:11:37 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141206180_1142
2006-03-01 17:11:37 [Leiden Classical] Started download of classical.hydrogen_gas_78596477_1141206180_1144
2006-03-01 17:11:37 [Leiden Classical] Computation for result wu_78596477_1141142610_53_0 finished
2006-03-01 17:11:37 [Leiden Classical] Starting result wu_78596477_1141142610_55_2 using classical version 533
2006-03-01 17:11:38 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_55_2 (process exited with code 127 (0x7f))
2006-03-01 17:11:38 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_55_2 (process exited with code 127 (0x7f))
2006-03-01 17:11:39 [---] request_reschedule_cpus: process exited
2006-03-01 17:11:39 [---] request_reschedule_cpus: files downloaded
2006-03-01 17:11:39 [---] request_reschedule_cpus: files downloaded
2006-03-01 17:11:39 [Leiden Classical] Computation for result wu_78596477_1141142610_55_2 finished
2006-03-01 17:11:39 [Leiden Classical] Starting result wu_78596477_1141142610_51_2 using classical version 533
2006-03-01 17:11:40 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_51_2 (process exited with code 127 (0x7f))
2006-03-01 17:11:40 [Leiden Classical] Unrecoverable error for result wu_78596477_1141142610_51_2 (process exited with code 127 (0x7f))
2006-03-01 17:11:40 [---] request_reschedule_cpus: process exited
2006-03-01 17:11:40 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141206180_1142
2006-03-01 17:11:40 [Leiden Classical] Throughput 5363 bytes/sec
2006-03-01 17:11:40 [Leiden Classical] Finished download of classical.hydrogen_gas_78596477_1141206180_1144

But the result page of one of these invalids shows this:

<core_client_version>5.2.14</core_client_version>
<message>process exited with code 127 (0x7f)
</message>
<stderr_txt>
classical_5.33_i686-pc-linux-gnu.exe: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

</stderr_txt>

Library libglut.so.3 is part of MESA Glut (link).

From that link:
Mesa-glut contains the GLUT (OpenGL Utility Toolkit) library.GLUT is a window system independent toolkit for writing small to medium-sized OpenGL programs. OpenGL is a Silicon Graphics, Inc., graphics utilities toolkit. Since Mesa (a graphics library) is very similar to OpenGL, OpenGL programs will work with Mesa.

All my Linux boxes are completely headless and run in console mode. Would it be possible to compile the linuc client without dependencies on mesa-glut? Or do I need to try to install it?

____________

ColdRain
private message
Joined: Feb 28, 2006
Posts: 52
ID: 548
Credit: 24,245,377
RAC: 13,162
Message 295 - Posted 1 Mar 2006 18:27:47 UTC

Trying to solve this myself, but no luck ... yet.
The distro is Debian, so I installed freeglut3.which provides libglut.so.3
The client still fails, now with a different error:
classical_5.33_i686-pc-linux-gnu.exe: error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory

Duh ... I do like problemsolving, but I hate to install (graphical) libraries which are never going to be used (my boxes are servers, not desktops) :-/

____________

ColdRain
private message
Joined: Feb 28, 2006
Posts: 52
ID: 548
Credit: 24,245,377
RAC: 13,162
Message 298 - Posted 1 Mar 2006 19:44:01 UTC
Last modified: 1 Mar 2006 19:46:49 UTC

Solved, linux client up-and-running without errors :-)
most recent result

For anyone else bumping into these problems, I had to install both freeglut3 and libxmu6. Also restart boinc and eventually reset the project. And check the results (through the project webpages) for any messages, because the boinc client itself does not give many info ...
____________

Bok
private message
Joined: Feb 16, 2006
Posts: 2
ID: 218
Credit: 184,132
RAC: 308
Message 308 - Posted 4 Mar 2006 14:51:17 UTC - in response to Message ID 298.

Solved, linux client up-and-running without errors :-)
most recent result

For anyone else bumping into these problems, I had to install both freeglut3 and libxmu6. Also restart boinc and eventually reset the project. And check the results (through the project webpages) for any messages, because the boinc client itself does not give many info ...


I had similar problems on some of my Gentoo boxes, emerged freeglut and that fixed it.

Bok

____________
Free-DC

Stats for all projects

Custom Stats

PCZ
private message
Joined: Mar 5, 2006
Posts: 1
ID: 660
Credit: 36,537
RAC: 535
Message 320 - Posted 5 Mar 2006 21:21:22 UTC

I ran into the glut problem as well on my discless nodes.
Running ldd against the executable showed libglut.so.3 missing.

I downloaded libglut.so.3.7.0
http://dri.sourceforge.net/res/libglut.so.3.7.0

Copied it to /lib and created a symlink
ln -s libglut.so.3.7.0 libglut.so.3

ldd showed all libs available and the client now runs fine. :)


____________

JohnB175
private message
Joined: Mar 7, 2006
Posts: 4
ID: 700
Credit: 35,870
RAC: 48
Message 420 - Posted 26 Mar 2006 1:59:09 UTC

Well when I run ldd I get the following:

libglut.so.3 => /lib/libglut.so.3 (0x40016000)
libGLU.so.1 => not found
libGL.so.1 => not found
libXmu.so.6 => not found
libXt.so.6 => not found
libXext.so.6 => not found
libXi.so.6 => not found
libSM.so.6 => not found
libICE.so.6 => not found
libX11.so.6 => not found
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4004f000)
libm.so.6 => /lib/libm.so.6 (0x40101000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40122000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4012b000)
libc.so.6 => /lib/libc.so.6 (0x4017c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libGLU.so.1 => not found
libGL.so.1 => not found
libX11.so.6 => not found
libXmu.so.6 => not found
libXt.so.6 => not found
libXi.so.6 => not found
libSM.so.6 => not found
libICE.so.6 => not found

Can anyone point me in the right direction on where to get these files? I am running the 2.4.30 kernel and as others point out all workunits crash with the same error. All my other projects work fine on this box :( Any help would be greatly appreciated.

m.somers User profile image
Forum moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Avatar
private message
Joined: Nov 14, 2005
Posts: 631
ID: 1
Credit: 1,417,572
RAC: 2
Message 421 - Posted 26 Mar 2006 9:33:19 UTC - in response to Message ID 293.

One can download the client code of Classical and compile it for BOINC in console mode and the use the anonymous platform to get work from the project.

By default I of course compile with graphics support for most people ;-).

Also as soon as a code update takes place, you need to download the latest version and recompile yourself too.

m.
____________
M.F. Somers

Shaof
private message
Joined: Feb 13, 2006
Posts: 1
ID: 32
Credit: 31,840
RAC: 42
Message 422 - Posted 26 Mar 2006 16:37:13 UTC - in response to Message ID 421.
Last modified: 26 Mar 2006 16:43:55 UTC

One can download the client code of Classical and compile it for BOINC in console mode and the use the anonymous platform to get work from the project.

By default I of course compile with graphics support for most people ;-).

Also as soon as a code update takes place, you need to download the latest version and recompile yourself too.

m.


Your server reports \"platform \'anonymous\' not found\" and \"No work from project\" when I try this.. ;)

____________

JohnB175
private message
Joined: Mar 7, 2006
Posts: 4
ID: 700
Credit: 35,870
RAC: 48
Message 423 - Posted 26 Mar 2006 19:11:29 UTC - in response to Message ID 421.

One can download the client code of Classical and compile it for BOINC in console mode and the use the anonymous platform to get work from the project.

By default I of course compile with graphics support for most people ;-).

Also as soon as a code update takes place, you need to download the latest version and recompile yourself too.

m.


My distro is very stripped down and lightweight. I am not very familiar with doing any of what you mentioned. I just wonder why all the other 14 projects I run on this box work fine.

m.somers User profile image
Forum moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Avatar
private message
Joined: Nov 14, 2005
Posts: 631
ID: 1
Credit: 1,417,572
RAC: 2
Message 426 - Posted 27 Mar 2006 7:21:39 UTC

They either do no graphics, or have the OpenGL bits compiled in statically, which will give you poor graphical performance cause you probably cannot use hardware acceleration.

However, you can download the client app source code from this site, look at the make file and notice the DEFINES=-DUSE_GLUT_GRAPH_API line. If you change that to DEFINES=-DUSE_BOINC_API and recompile, you got a console client. For this to work you need to download the BOINC lib at berkely and compile/install that first on the box you are going to compile the client.

Furthermore, I\'ll have a look in the platform anonymous thing.

m.

____________
M.F. Somers

JohnB175
private message
Joined: Mar 7, 2006
Posts: 4
ID: 700
Credit: 35,870
RAC: 48
Message 429 - Posted 27 Mar 2006 13:04:57 UTC - in response to Message ID 426.

They either do no graphics, or have the OpenGL bits compiled in statically, which will give you poor graphical performance cause you probably cannot use hardware acceleration.

However, you can download the client app source code from this site, look at the make file and notice the DEFINES=-DUSE_GLUT_GRAPH_API line. If you change that to DEFINES=-DUSE_BOINC_API and recompile, you got a console client. For this to work you need to download the BOINC lib at berkely and compile/install that first on the box you are going to compile the client.

Furthermore, I\'ll have a look in the platform anonymous thing.

m.


Well I never use graphics anyway. It\'s a headless machine and I only ssh onto it. I remember having a problem once at another project and I now recall a staff member compiling in some things statically since many people were having a problem using older kernels. Once they did that everything worked like a charm.

Bjorn De Winter User profile image
private message
Joined: Mar 1, 2006
Posts: 8
ID: 571
Credit: 336,996
RAC: 1,048
Message 557 - Posted 25 May 2006 12:49:17 UTC - in response to Message ID 421.

By default I of course compile with graphics support for most people ;-).

Also as soon as a code update takes place, you need to download the latest version and recompile yourself too.

I recently ran into this problem again. You mailed a teammate (TigerWing) under whose account I\'m currently crunching. The earlier fixes I found apparantly weren\'t enough anymore. I had to install even more graphical soft I\'m never going to use, but which is needed by the Leiden app to be able to work. Simply put: software that depends on other software without necessarily using it, is crappy software. I\'m pretty sure the majority of linux users on this project don\'t run the graphical Leiden component.

Why you insist on having linux users install software most will never use, while other boinc projects don\'t require this, is beyond my comprehension. Simply because *you* want a graphical client app? In that case it\'s plain ignorance, and then maybe this project doesn\'t deserve the attention it currently gets?
____________

BOINC.BE: The team for Belgians who love the smell of glowing red cpu's in the morning

ColdRain
private message
Joined: Feb 28, 2006
Posts: 52
ID: 548
Credit: 24,245,377
RAC: 13,162
Message 561 - Posted 27 May 2006 8:25:52 UTC

By default I of course compile with graphics support for most people ;-).
Also as soon as a code update takes place, you need to download the latest version and recompile yourself too.


I recently ran into this problem again. You mailed a teammate (TigerWing) under whose account I\'m currently crunching. The earlier fixes I found apparantly weren\'t enough anymore. I had to install even more graphical soft I\'m never going to use, but which is needed by the Leiden app to be able to work. Simply put: software that depends on other software without necessarily using it, is crappy software imho. I\'m pretty sure the majority of linux users on this project don\'t run the graphical Leiden component.

Why you insist on having linux users install software most will never use, while other boinc projects don\'t require this, is beyond my comprehension. Simply because *you* want a graphical client app?

____________

[B^S] Morgan the Gold User profile image
Avatar
private message
Joined: Feb 17, 2006
Posts: 4
ID: 228
Credit: 112,651
RAC: 71
Message 1607 - Posted 25 Apr 2007 10:33:44 UTC - in response to Message ID 320.

"PCZ" wrote:
I ran into the glut problem as well on my discless nodes.
Running ldd against the executable showed libglut.so.3 missing.

I downloaded libglut.so.3.7.0
http://dri.sourceforge.net/res/libglut.so.3.7.0

Copied it to /lib and created a symlink
ln -s libglut.so.3.7.0 libglut.so.3

ldd showed all libs available and the client now runs fine. :)



Thanks PCZ , works for Me on My suse 10.2 's
____________

[B^S] Morgan the Gold User profile image
Avatar
private message
Joined: Feb 17, 2006
Posts: 4
ID: 228
Credit: 112,651
RAC: 71
Message 1608 - Posted 25 Apr 2007 12:59:13 UTC

as an aside, tried the graphic window, opened ok, looked neat but wouldn't close.
____________

catull
private message
Joined: Feb 19, 2007
Posts: 1
ID: 4291
Credit: 25,763
RAC: 37
Message 1617 - Posted 29 Apr 2007 23:32:55 UTC

Although I'm running a graphical Linux desktop,
I also would prefer that the Leiden client
only links to what is really essential.
Besides other convenience reasons,
it's just reasonable for security.
____________

Reply to this thread

Message boards : Number crunching : linux problems - libglut.so.3



Return to Leiden Classical main page


Copyright © 2013 Leiden University - Leiden Institute of Chemistry - Theoretical Chemistry Department