Open ferdiina opened 3 years ago
Ah I see, it's trying to use an *.so as a static library... But that's in the bls-signatures
submodule from chia..
hi max how can i do for fix it ?
Post a bug report on: https://github.com/Chia-Network/bls-signatures They have to fix it...
sorry.. it is their library, but not relic
Somebody managed to fix it by install a static version of libgmp and libsodium. That was on arch
however, maybe there is something similar for centos.
我在centos7中并没有安装成功
Can you help me?centos8.3 Looking forward to it.
yes i have already post issue to https://github.com/Chia-Network/bls-signatures but just told me install python-devel or python3.x-devel after that the issue same
I have Python3-devel installed on it, but I still have this problem.
it's not python....... it's missing static libraries......
it can finally compile with this.: try first one & if still broken use second one.
sudo yum install gmp-static sudo yum install libsodium-static
Also it is critical to have the CORRECT version of "devtoolset" on your cent os
on Centos 8 I was able to get libsodium-static installed, and I installed gmp static with these files included: /usr/lib64/libgmp.so /usr/local/lib/libgmp.a
But I get: /usr/bin/ar: /usr/lib64/libgmp.so: File format not recognized make[2]: [lib/bls-signatures/src/CMakeFiles/combined_custom.dir/build.make:80: lib/bls-signatures/src/CMakeFiles/combined_custom] Error 1 make[1]: [CMakeFiles/Makefile2:567: lib/bls-signatures/src/CMakeFiles/combined_custom.dir/all] Error 2 make: *** [Makefile:150: all] Error 2
latest master ./make_devel.sh
has usage of GMP disabled
it's not python....... it's missing static libraries......
it can finally compile with this.: try first one & if still broken use second one.
sudo yum install gmp-static
worked for me. centos 7
should be fixed now
[ 97%] Building CXX object lib/bls-signatures/src/CMakeFiles/runbench.dir/test-bench.cpp.o /usr/bin/ar: /usr/lib64/libgmp.so: File format not recognized make[2]: [lib/bls-signatures/src/CMakeFiles/combined_custom.dir/build.make:79: lib/bls-signatures/src/CMakeFiles/combined_custom] Error 1 [ 97%] Built target test_phase_2 make[1]: [CMakeFiles/Makefile2:537: lib/bls-signatures/src/CMakeFiles/combined_custom.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
Installed Packages gmp.x86_64 1:6.1.2-10.el8