hi, everyone, i was trouble in a problem. i want to compile cpuminer so that i can add the minning pool url, username, password into the code and make it as default.
when i was finished, it's working well on the PC which i was compiled it, but when i copy the binaries file (minerd) to the other pc and try to run it, there is and error about the dependence, both of the two pc is centos.
error message:
./minerd: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
and then i try to find out how many dependences was lost:
[root@localhost ~]# ldd minerd
libcurl.so.4 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003959e00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003959200000)
/lib64/ld-linux-x86-64.so.2 (0x0000003958e00000)
[root@localhost ~]#
and, i try the other pc again:
[root@localhost ~]# ldd minerd
/usr/bin/checkdisk: /usr/lib64/libidn.so.11: no version information available (required by /usr/lib64/libcurl.so.4)
/usr/bin/checkdisk: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/libcurl.so.4)
/usr/bin/checkdisk: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib64/libcurl.so.4)
/usr/bin/checkdisk: /usr/lib64/libnss3.so: version `NSS_3.12.5' not found (required by /usr/lib64/libcurl.so.4)
/usr/bin/checkdisk: /lib64/libc.so.6: version `GLIBC_2.12' not found (required by /lib64/libldap-2.4.so.2)
/usr/bin/checkdisk: /usr/lib64/libnss3.so: version `NSS_3.12.9' not found (required by /lib64/libldap-2.4.so.2)
/usr/bin/checkdisk: /usr/lib64/libnss3.so: version `NSS_3.12.5' not found (required by /lib64/libldap-2.4.so.2)
/usr/bin/checkdisk: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/libcrypto.so.10)
[root@localhost ~]#
i was follow the step below to compile it:
step1:yum install gcc make curl-devel
step2:wget
http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2.tar.gzstep3:tar xzf pooler-cpuminer-*.tar.gz
step4:cd cpuminer-*
step5:./configure CFLAGS="-O3"
step6:make
so, anyone can help me how to make it work well on the other centos/redhat? thanks very much.
by the way, file size of my binaries file is 290095Byte, it is less than the official file that file size is 592464Byte.