Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • Thanks for your kind suggestion: here is my (system) libc.so.6:$ ldd /bin/bash linux-vdso.so.1 => (0x00007fffb3dfd000) libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003cb0c00000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003cae000000) libc.so.6 => /lib64/libc.so.6 (0x0000003cad800000) /lib64/ld-linux-x86-64.so.2 (0x0000003cad400000) Commented Feb 18, 2017 at 11:47
  • you mean install a glib package [like here] (ftp.gnu.org/gnu/libc) in "/mydirectory/libc/directory", and run the command "ln -sv /my/libc/directory /usr/lib64"? Commented Feb 18, 2017 at 11:51
  • my OS is :cat /etc/*-release CentOS release 5.10 (Final), you mention Debians, do your think the same solution also apply to my OS? Commented Feb 18, 2017 at 11:54
  • @Jun Download and extract a binary (precompiled) glibc distribution, ideally a glibc2.7 one. Extract it into a specific directory in your home (for example, /home/jun/glibc4r). Then start the R from the command line, but prefixing with LD_LIBRARY_PATH=/home/jun/glibc4r . Here you give the path which contains the libc.so.6 from your downloaded glibc. It will result that this command, and only this command, will first try to load libraries from your directory, and only then will it check for the system libs. Commented Feb 18, 2017 at 12:26
  • I could not find a binary glibc distribution. So I decided to install one from source, but met some issues. I will post a new question about it. A working issue now is when I tried to do configure, I had error complaining my gcc version is too old, but "gcc (GCC) 6.1.0" my gcc far exceed the required indicated in the "INSTALL" file... Commented Feb 18, 2017 at 13:18