Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./xmr-stak: /lib64/libc.so.6: version `GLIBC_2.14' #489

Open
leandrocamposcardoso opened this issue Feb 22, 2018 · 1 comment
Open

./xmr-stak: /lib64/libc.so.6: version `GLIBC_2.14' #489

leandrocamposcardoso opened this issue Feb 22, 2018 · 1 comment

Comments

@leandrocamposcardoso
Copy link

Is there any way to compile for centos 6.9 a static version that does not require any dependence? when I tried to compile generically in Debian, and executed in centos I got the following error:
./xmr-stak: /lib64/libc.so.6: version GLIBC_2.14 'not found (required by ./xmr-stak) ./xmr-stak: /lib64/libc.so.6: version GLIBC_2.17 'not found (required by ./xmr-stak)
I do not understand practically c ++ just wanted to compile for an old version of the centos that it only has:
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_PRIVATE

I compiled using the parameters:
cmake .. -DCMAKE_LINK_STATIC = ON -DXMR-STAK_COMPILE = generic -DMICROHTTPD_ENABLE = OFF -DOpenSSL_ENABLE = OFF -DCUDA_ENABLE = OFF -DOpenCL_ENABLE = OFF -DHWLOC_ENABLE = OFF

Is there anything I can do to compile statically with no external dependencies for an older version of GLIBC or add the dependency directly to the executable?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 23, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants