I recently did a clean install of Raspian Stretch on my RPi 3b. A BOINC application, Albert, that had been running fine under Jessie fails under Stretch with this error:
<stderr_txt>
../../projects/albert.phys.uwm.edu/einsteinbinary_BRP4_1.42_arm-unknown-linux-gnueabihf__NEON: relocation error: ../../projects/albert.phys.uwm.edu/einsteinbinary_BRP4_1.42_arm-unknown-linux-gnueabihf__NEON: symbol h_errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
I have been searching for some indication of what to do to correct this, any help would be appreciated?
Re: GLIBC_PRIVATE not defined in file libc.so.6
That looks like an incompatibility between glibc versions. Not sure when it happened but h_errno got renamed to __h_errno so at a guess your program (or a library it uses) was compiled against the older version of glibc and needs access to that internal symbol. Recompiling under Stretch should fix it.
Looking through some notes it was around 2015 so Jessie probably has the older glibc and Stretch will be using the newer one.
Edit:
Your title is misleading, GLIBC_PRIVATE isn't what the error message says isn't defined, it says that the symbol h_errno with the version string of GLIBC_PRIVATE isn't defined.
Looking through some notes it was around 2015 so Jessie probably has the older glibc and Stretch will be using the newer one.
Edit:
Your title is misleading, GLIBC_PRIVATE isn't what the error message says isn't defined, it says that the symbol h_errno with the version string of GLIBC_PRIVATE isn't defined.
Last edited by Paeryn on Fri Nov 10, 2017 8:58 pm, edited 1 time in total.
She who travels light — forgot something.
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Re: GLIBC_PRIVATE not defined in file libc.so.6
Thanks for responding, I can't update the program. I went back to Jessie and it is running fine again, so I guess I will stay with that for a while. I will report it to the project.
- davidcoton
- Posts: 7001
- Joined: Mon Sep 01, 2014 2:37 pm
- Location: Cambridge, UK
Re: GLIBC_PRIVATE not defined in file libc.so.6
You should tell the BOINC/Albert people (although they probably already know). It's probably not a Pi specific problem.
Location: 345th cell on the right of the 210th row of L2 cache