version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2

£可爱£侵袭症+ 提交于 2019-12-04 21:13:59

问题


if anyone could give a beginner some help on gcc version issue?

I met the issue on "version GLIBCXX_3.4.20' not found". After I followed the link: How to Install gcc 5.3 with yum on CentOS 7.2? I met extra issues as below:

scl enable devtoolset-7 bash
git: relocation error: libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference 

回答1:


if anyone could give a beginner some help on gcc version issue?

Your problem has nothing to do with any GCC versions.

git: relocation error: libc.so.6: symbol _dl_starting_up, ...

This error most likely means that you are trying to use something other than the system libc.so.6 (perhaps by pointing LD_LIBRARY_PATH to directory that contains a copy of libc.so.6 from a different system).

Don't do that: it doesn't work. Using alternate GLIBC version is possible, but complicated. This answer provides some ways to do that.



来源:https://stackoverflow.com/questions/49245547/version-glibc-private-not-defined-in-file-ld-linux-x86-64-so-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!