Linux noob problem! missing library i think

Message boards : Number crunching : Linux noob problem! missing library i think

To post messages, you must log in.

AuthorMessage
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,675,695
RAC: 11,002
Message 48437 - Posted: 7 Nov 2007, 11:28:58 UTC
Last modified: 7 Nov 2007, 11:44:59 UTC

Hi All

I'm a linux noob and am trying to run DSL (Damn Small Linux) on a couple of old machines to replace/complement some electric heating in my office. The first machine ran a successful job last night but then jobs started erroring out with:

process exited with code 127 (0x7f, -129)

Having googled it, I found:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory this link:

After inspecting the details of your host where these WU's crahsed, I noticed something...

It seems that you are still running a 2.4.xx kernel. I compiled the code using a 2.6.xx kernel machine. Ususaly this as such is no problem, but it often also indicate that your linux box has with it an older libc etc. etc.

So perhaps to get some better idea, try to use the ldd command on the exectuable, this would show which shared libs are loaded at run time (libc etc.) and perhaps indicate which lib/version is missing ?! Otherwise, I'll have to compile some stuff statically, but that's a pain in the bud too for graphical (OpenGL) libs... (no hardware support on the clients etc. etc. etc.)

m.


and


Your stderr.txt reports followin error :

setiathome_4.02_i686-pc-linux-gnu: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

It it missing the libgcc_s.so.1. Please check if it is installed, and have the read and execute rights for everyone.
Can you please post the output from "ldd setiathome_4.02_i686-pc-linux-gnu".

If the setiathome binary don't find your libgcc, try to "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:PATH_TO_YOUR_LIBGCC"


These posts refer to:
libgcc_s.so.1 and libstdc++.so.5.

Are these two versions of the same file or two different files that should co-exist? Either way, how do I check that I have these files (assuming rosetta is trying to access them) and that rosetta can access them. If they're not there, how do i add them?

TIA!
Danny

ID: 48437 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,675,695
RAC: 11,002
Message 48442 - Posted: 7 Nov 2007, 16:42:16 UTC
Last modified: 7 Nov 2007, 16:42:46 UTC

here it says that libgcc_s.so.1 is related to graphics (OpenGL). I'm not running any boinc graphics on these machines so I don't think they should need it(?) but I know this is a problem in the windows version too as if the glu32.dll and opengl32.dll (names might be slightly wrong) aren't in the system32 folder then rosetta errors out instantly just like it is on these linux jobs.

If it is because rosetta is calling these files unnecessarily then is that something that can be changed? It shouldn't be reading these files if they're not in use... unnecessary reads being made and unnecessary files being needed!
ID: 48442 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,675,695
RAC: 11,002
Message 48445 - Posted: 7 Nov 2007, 18:49:30 UTC

ignore above posts. It looks like this is the same problem that others are having with the pre-emption failures...
ID: 48445 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Linux noob problem! missing library i think



©2024 University of Washington
https://www.bakerlab.org