Safe-browser installation on Centos 7 issue

Hi all,

If any one can help:

[root@hp8300 glibc-build]# safe-browser &
[1] 20430
[root@hp8300 glibc-build]# Error: Dynamic Linking Error: /lib64/libc.so.6: version GLIBC_2.18' not found (required by /opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/dist/libsafe_authenticator.so) at new DynamicLibrary (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/ffi/lib/dynamic_library.js:74:11) at Object.DynamicLibrary (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/ffi/lib/dynamic_library.js:33:12) at /opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/dist/api.js:193:36 at Promise (<anonymous>) at LibLoader.load (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/dist/api.js:187:15) at Object.loadLibrary (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/dist/api.js:96:25) at Object.<anonymous> (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/index.js:5:19) at Object.<anonymous> (/opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/beaker-plugin-safe-authenticator/index.js:20:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) [AUTO-UPDATE] Error: Disabled. Only available on macOS and Windows. (node:20430) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): 1: Failed to load native libraries: Error: Dynamic Linking Error: /lib64/libc.so.6: versionGLIBC_2.18’ not found (required by /opt/maidsafe/safe-browser-v0.6.0/resources/app/node_modules/@maidsafe/safe-node-app/src/native/libsafe_app.so)
(node:20430) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[1]+ Done safe-browser
[root@hp8300 glibc-build]#

Sadly did not work:
cd /tmp
wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar -xvzf glibc-2.18.tar.gz
cd glibc-2.18/
mkdir glibc-build
cd glibc-build/
…/configure --disable-sanity-checks
make
make install

2 Likes

After a bit of googling it seems indeed that CentOS7 has version 2.17 of glibc.
So the ideal solution would be if 2.17 also should work, like Chromium has done here.
But maybe, to get your self compiled 2.18 to work: if you do ‘sudo ldconfig’: does that help?
Probably not: ‘make install’ should already have done that.

1 Like