BOINC under glibc < 2.2

wijata.com
wijata.com
Joined: 11 Feb 05
Posts: 113
Credit: 25495895
RAC: 0
Topic 187988

When I try run boinc under linux RedHat 6.2 with glibc 2.1 i'm getting this error
./boinc: /lib/libpthread.so.0: version `GLIBC_2.2' not found (required by ./boinc)
./boinc: /lib/libc.so.6: version `GLIBC_2.2' not found (required by ./boinc)

I tried to be smart. I put required libraries to ./lib directory, then set LD_LIBRARY_PATH.
This way I was able to run boinc however after a while I got this error
Unrecoverable error for result H1_1278.9__1279.1_0.1_T03_Test02_1 (process exited with code 1 (0x1))

boinc v 4.24

Any help? Help?

john.mac
john.mac
Joined: 9 Feb 05
Posts: 85
Credit: 167393
RAC: 0

BOINC under glibc < 2.2

Had similar problem under an old Suse distro (7.2), installing 9.2 via an fpt-server solved all problems
I'am afraid its better to upgrade to a newer version of Fedora-Redhat or other Distro to avoid broken dep's etc.

Luck,

John,

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4332
Credit: 252232242
RAC: 34805

It might be a good idea to

It might be a good idea to still report the failes result (run the client with "-update_prefs http://einstein.phys.uwm.edu"), so we can have a closer look at the error.

BM

BM

wijata.com
wijata.com
Joined: 11 Feb 05
Posts: 113
Credit: 25495895
RAC: 0

Unfortunatelly, this machine

Unfortunatelly, this machine is a server, and upgrading to newer version of RH is out of scope. And I belive there is no result files, as this error occures just after the core is about to start.

I'll keep trying anyway, maybe I do some talk with admin, so he can run boinc in some chroot env?

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4332
Credit: 252232242
RAC: 34805

Well then, it may help to

Well then, it may help to look at or post the information that should end up in stderr.txt in the BOINC directory.

BM

BM

wijata.com
wijata.com
Joined: 11 Feb 05
Posts: 113
Credit: 25495895
RAC: 0

Well, if I catch one, i'll

Well, if I catch one, i'll send it here. For now i managed to run it in chroot environment and it started work. I needed of course to copy libraries and some files from /etc & /proc, but it works for now.
About the problem with LD_LIBRARY_PATH. I think, that the problem was, that in fact I needed to spawn boinc like that
lib/ld-linux.so.2 ./boinc
to get it started. (the ld-linux from new glibc).
Unfortunatelly boinc don't spawn the core this way, so system tries to link it with ld-linux from old glibc. chroot addressed it, but it requires root privileges.

I also was thinking if I could LD_PRELOAD the ld-linux.so.2, but this is the only file one can't preload (becouse ld-linux does all library linking ;). And of course You can't use Your own system linker (for security reason for eg.).

I think that chroot is the only way to run downloaded client.
Another way may be compiling the boinc client & core from sources. I'll skip that for now.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.