Thread 'Computation Error on Centos6.x'

Questions and Answers : Unix/Linux : Computation Error on Centos6.x
Message board moderation

To post messages, you must log in.

AuthorMessage
TeKNiX

Send message
Joined: 18 Jan 18
Posts: 6
Credit: 3,008,941
RAC: 0
Message 137 - Posted: 19 Jan 2018, 0:22:12 UTC

It seems that this doesn't run on RHEL/Centos 6.x
ID: 137 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ice00
Project administrator
Project developer

Send message
Joined: 28 Oct 17
Posts: 220
Credit: 59,056
RAC: 12
Message 162 - Posted: 7 Feb 2018, 19:37:28 UTC - in response to Message 137.  

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
ID: 162 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TeKNiX

Send message
Joined: 18 Jan 18
Posts: 6
Credit: 3,008,941
RAC: 0
Message 166 - Posted: 15 Feb 2018, 17:08:55 UTC

[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)
ID: 166 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ice00
Project administrator
Project developer

Send message
Joined: 28 Oct 17
Posts: 220
Credit: 59,056
RAC: 12
Message 176 - Posted: 17 Feb 2018, 11:31:20 UTC

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
ID: 176 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TeKNiX

Send message
Joined: 18 Jan 18
Posts: 6
Credit: 3,008,941
RAC: 0
Message 182 - Posted: 18 Feb 2018, 4:20:51 UTC - in response to Message 176.  

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
ID: 182 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ice00
Project administrator
Project developer

Send message
Joined: 28 Oct 17
Posts: 220
Credit: 59,056
RAC: 12
Message 184 - Posted: 18 Feb 2018, 9:27:58 UTC - in response to Message 182.  

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.
ID: 184 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TeKNiX

Send message
Joined: 18 Jan 18
Posts: 6
Credit: 3,008,941
RAC: 0
Message 185 - Posted: 18 Feb 2018, 13:40:34 UTC
Last modified: 18 Feb 2018, 13:40:58 UTC

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
ID: 185 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Computation Error on Centos6.x

©2024 ©2024 Progger & Stefano Tognon (ice00) & Reese