Open leandrocamposcardoso opened 6 years ago
No it is not possible to compile a full dependency frer version. The reason is that the OS is mostly shipping sharef libraries. If you compile all dependency and the dependency from the dempendency by hand and static tjan you can build a static version. But this is not supported by us and need maybe some cmake changes.
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_PRIVATEI 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?