Title: how to make a self compile binaries cpuminer running at other linux pc Post by: anonpassport on January 28, 2014, 09:55:58 AM 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.gz step3: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. Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: Smileyftw on January 28, 2014, 01:03:49 PM hello anonpassport , so you need to install the dependencies
Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: KoningKaas on January 28, 2014, 01:17:09 PM Dependencies CENTOS
sudo apt-get install -y build-essential m4 libssl-dev libdb++-dev libboost-all-dev libminiupnpc-dev git Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: oxfardk on January 28, 2014, 04:10:57 PM Why don't you use another operating system ? something easy to use
Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: pmconrad on January 28, 2014, 04:32:37 PM You can simply use my linux packages: https://build.opensuse.org/package/show/home:p_conrad:coins/cpuminer
Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: anonpassport on January 28, 2014, 05:28:40 PM hello anonpassport , so you need to install the dependencies but why we can running the official binaries file on every centos(or redhat) without install any dependencies? thanks. Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: anonpassport on January 28, 2014, 05:29:29 PM Dependencies CENTOS sudo apt-get install -y build-essential m4 libssl-dev libdb++-dev libboost-all-dev libminiupnpc-dev git but why we can running the official binaries file on every centos(or redhat) without install any dependencies? thanks. Title: Re: how to make a self compile binaries cpuminer running at other linux pc Post by: anonpassport on January 28, 2014, 05:34:08 PM You can simply use my linux packages: https://build.opensuse.org/package/show/home:p_conrad:coins/cpuminer thanks very much, but what i really want is an executable file, not an rpm file. any sugguestion? thank you. |