Pushpool - Tech Support

Moving this from the newb post section....

 

I am using Centos 6.5

I followed the instructions on page 3 of the post:

 

yum groupinstall "Development Tools" -y

yum install -y openssl-devel.x86_64 mysql-devel.x86_64 \

                   curl-devel.x86_64 \

                   sqlite-devel.x86_64 \

                   postgresql-devel.x86_64 \

                   zlib-devel.x86_64 libevent-devel.x86_64

 

wget http://www.digip.org/jansson/releases/jansson-2.0.1.tar.gz

tar xfvz jansson-2.0.1.tar.gz; cd jansson-2.0.1/

./configure && make && make install; cd ..

 

yum install -y libmemcached.x86_64 \

                   libmemcached-devel.x86_64 \

                   libcurl-devel.x86_64

 

wget http://yyz.us/bitcoin/pushpool-0.5.1.tar.gz;
tar xfvz pushpool-0.5.1.tar.gz

cd pushpool-0.5.1

 

./configure --prefix=/opt/pushpool/ && make 

make install

cd /opt/pushpool

 ./sbin/pushpoold -E -F --foreground --debug=2 --stderr --config=/opt/pushpool/server.json

If error occured:

eg: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory

1) First change directories to /usr/local/lib

 cd /usr/local/lib

2) check if the libjansson.so.4 file is there.

 ls

3) if it's in there do the following commands:

 ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4

4) Make sure you reload the libraries

 ldconfig

 

Refer: http://bitcoin.stackexchange.com/questions/4303/how-to-setup-pushpool

 

猜你喜欢

转载自ypf3027.iteye.com/blog/2007751