Questions and Answers : Unix/Linux : Computation Error on Centos6.x
Message board moderation
Author | Message |
---|---|
Send message Joined: 18 Jan 18 Posts: 6 Credit: 3,008,941 RAC: 0 |
It seems that this doesn't run on RHEL/Centos 6.x |
Send message Joined: 28 Oct 17 Posts: 220 Credit: 59,113 RAC: 14 |
hi, Try to do a: ldd /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu using the position of the odlk3 program in your pc. Maybe it could see if there are a broken dependencies. Thanks |
Send message Joined: 18 Jan 18 Posts: 6 Credit: 3,008,941 RAC: 0 |
[centos@test boinc.multi-pool.info_latinsquares]$ cat /etc/redhat-release CentOS release 6.9 (Final) [centos@test boinc.multi-pool.info_latinsquares]$ ldd * odlk3_1.0_x86_64-pc-linux-gnu: ./odlk3_1.0_x86_64-pc-linux-gnu: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./odlk3_1.0_x86_64-pc-linux-gnu) linux-vdso.so.1 => (0x00007ffe9e7d6000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6ed2090000) libm.so.6 => /lib64/libm.so.6 (0x00007f6ed1e0c000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6ed1bf6000) libc.so.6 => /lib64/libc.so.6 (0x00007f6ed1862000) /lib64/ld-linux-x86-64.so.2 (0x00007f6ed29e6000) odlkmax_1.0_x86_64-pc-linux-gnu: ./odlkmax_1.0_x86_64-pc-linux-gnu: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./odlkmax_1.0_x86_64-pc-linux-gnu) linux-vdso.so.1 => (0x00007fff5aee8000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6a78794000) libm.so.6 => /lib64/libm.so.6 (0x00007f6a78510000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6a782fa000) libc.so.6 => /lib64/libc.so.6 (0x00007f6a77f66000) /lib64/ld-linux-x86-64.so.2 (0x00007f6a790ea000) |
Send message Joined: 28 Oct 17 Posts: 220 Credit: 59,113 RAC: 14 |
hi, the problem is the different glibc library: GLIBC_2.14 Your version should be the old 2.12 As I assume you are using it as a server (so updating to CentOs 7.x is not a choice) you could try to extract libc.so.6 from CentOs 7.x and put it inside on directory (e.g /opt/mylib)and then: export LD_LIBRARY_PATH=/opt/mylib/:$LD_LIBRARY_PATH /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu If this works maybe it is possible to make it run |
Send message Joined: 18 Jan 18 Posts: 6 Credit: 3,008,941 RAC: 0 |
yes thanks for the workaround tip. just wondering if you have a fix for it. redhat 6.x is still supported. and not all can upgrade to redhat 7.x |
Send message Joined: 28 Oct 17 Posts: 220 Credit: 59,113 RAC: 14 |
I did not know if this works (as Boinc has the firmed executable), but you can try: rename the executable as terminating with an extension like: mv /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu.exe create a new file: nano /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu and insert: #!/bin/bash export LD_LIBRARY_PATH=/opt/mylib/:$LD_LIBRARY_PATH /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu.exe make this executable: chmod +x /var/lib/boinc/projects/boinc.multi-pool.info_latinsquares/odlk3_1.0_x86_64-pc-linux-gnu Then look if computation in boinc is working. |
Send message Joined: 18 Jan 18 Posts: 6 Credit: 3,008,941 RAC: 0 |
hi. thanks for the workaround. i know how to around this. my concern is for all those who are still using redhat/centos/scientific linux 6.X. will there be a be a permanent fix for this. or just a workaround? not everybody can upgrade to version 7.x |
©2024 ©2024 Progger & Stefano Tognon (ice00) & Reese