Author

Topic: Thumbs down to the chncoin linux clients. (Read 6960 times)

newbie
Activity: 9
Merit: 0
May 17, 2013, 02:14:18 AM
#8
Thanks Wink
p2p
newbie
Activity: 32
Merit: 0
Has anyone tried compiling this on CentOS? If you were successful please post how you did it.
member
Activity: 68
Merit: 10
to avoid problems with upnpc you can also compile like this:
Code:
# make -f makefile.unix USE_UPNP=
newbie
Activity: 17
Merit: 0
This post is a bit old but I was able to complie the chncoind from github.
Hopefully this will help other noobs.

Ubuntu 11.10
Code:
cd ~
git clone https://github.com/CHNCoin/CHNCoin.git
cd ~/CHNCoin/src
The obj directory was missing in the src folder. To create it:
Code:
mkdir ./obj
I had to install libminiupnpc-dev
Code:
sudo apt-get install libminiupnpc-dev
Make clean and make the chncoind
Code:
make -f makefile.unix clean
make -f makefile.unix
Afterwards, you can move the chncoind to where you like. I kept mine in the src directory.
Create your chncoin.conf in ~/.chncoin/chncoin.conf
Code:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0
Fire up chncoind
Code:
jw@jw-dev:~/CHNCoin/src$ ./chncoind
jw@jw-dev:~/CHNCoin/src$ CHNCoin server starting
Wait about 30mins
Code:
./chncoind getblockcount
Make sure the block count matches the current block
Code:
http://cnc.strament.com/
And you're read to start mining.
n_p
newbie
Activity: 28
Merit: 0
Why don't they at least include the source code? That way I could compile it myself.
newbie
Activity: 5
Merit: 0
Could you point me to where I could get the libraries? I have been trying to get the damon going but have been having a problem finding them.
Code:
./chncoind: error while loading shared libraries: libboost_system.so.1.49.0: cannot open shared object file: No such file or directory


I ran
Code:
ldd chncoin-qt

and then manually symlinked all the libraries that it couldn't find, e.g.

Code:
ln -s /usr/lib/libboost_filesystem.so.1.49.0 /usr/lib/libboost_filesystem.so.1.46.1

and so on.

It now works. Hope this helps!
full member
Activity: 515
Merit: 101
Could you point me to where I could get the libraries? I have been trying to get the damon going but have been having a problem finding them.
Code:
./chncoind: error while loading shared libraries: libboost_system.so.1.49.0: cannot open shared object file: No such file or directory
n_p
newbie
Activity: 28
Merit: 0
Code:
$ ./chncoin-qt
./chncoin-qt: error while loading shared libraries: libminiupnpc.so.9: cannot open shared object file: No such file or directory

Seems it requires some less common dynamic libraries:

Code:
$ ldd chncoin-qt
../../CHNCoin/64/chncoin-qt: /usr/lib64/libssl.so.1.0.0: no version information available (required by ../../CHNCoin/64/chncoin-qt)
../../CHNCoin/64/chncoin-qt: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ../../CHNCoin/64/chncoin-qt)
        linux-vdso.so.1 (0x00007fff171ff000)
        libminiupnpc.so.9 => not found
        librt.so.1 => /lib64/librt.so.1 (0x00007f4fc415e000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f4fc3ef4000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f4fc3b1f000)
        libdb_cxx-5.1.so => not found
        libboost_system.so.1.46.1 => not found
        libboost_filesystem.so.1.46.1 => not found
        libboost_program_options.so.1.46.1 => not found
        libboost_thread.so.1.46.1 => not found
        libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007f4fc2e65000)
        libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007f4fc2985000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4fc2768000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007f4fc2463000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f4fc216e000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007f4fc1f58000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f4fc1baf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4fc4367000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f4fc19ab000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f4fc1795000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f4fc1577000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f4fc1255000)
        libaudio.so.2 => /usr/lib64/libaudio.so.2 (0x00007f4fc103c000)
        libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007f4fc0e11000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f4fc0b71000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f4fc0968000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f4fc074b000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f4fc053b000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f4fc0331000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f4fc0127000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f4fbff21000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f4fbfd16000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f4fbfb13000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f4fbf8dd000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f4fbf6cb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f4fbf38e000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f4fbf18c000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f4fbef87000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f4fbed80000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f4fbeb5f000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007f4fbe94b000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f4fbe73f000)
        libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f4fbe4d7000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f4fbe2d3000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f4fbe0c3000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f4fbde98000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f4fbdc92000)

Or more briefly:

Code:
$ ldd chncoin-qt | grep found
../../CHNCoin/64/chncoin-qt: /usr/lib64/libssl.so.1.0.0: no version information available (required by ../../CHNCoin/64/chncoin-qt)
../../CHNCoin/64/chncoin-qt: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ../../CHNCoin/64/chncoin-qt)
        libminiupnpc.so.9 => not found
        libdb_cxx-5.1.so => not found
        libboost_system.so.1.46.1 => not found
        libboost_filesystem.so.1.46.1 => not found
        libboost_program_options.so.1.46.1 => not found
        libboost_thread.so.1.46.1 => not found

Why would anyone require a specific version of boost (I have 1.49.0 on my machine, and THAT is old - the current version is 1.53.0)?

I guess the inability to create a working client should add to the skepticism.

Litecoin (just for comparison) runs fine:

Code:
$ ldd litecoin-qt
        linux-vdso.so.1 (0x00007fff77dc5000)
        libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007fb0a8483000)
        libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007fb0a7fa3000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb0a7d85000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007fb0a7a81000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fb0a778c000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0x00007fb0a7576000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb0a71ce000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fb0a6fb8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fb0a6db4000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fb0a6b96000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fb0a6874000)
        libaudio.so.2 => /usr/lib64/libaudio.so.2 (0x00007fb0a665b000)
        libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fb0a6430000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fb0a6190000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fb0a5f87000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fb0a5d6a000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fb0a5b5a000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fb0a5950000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fb0a5746000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fb0a5540000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fb0a5334000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fb0a5131000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fb0a4efb000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fb0a4ce9000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fb0a49ac000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fb0a47a3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb0a913d000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fb0a45a1000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007fb0a439c000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007fb0a4195000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fb0a3f74000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007fb0a3d60000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007fb0a3b54000)
        libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007fb0a38ec000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fb0a36e8000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb0a34d8000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fb0a32ad000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fb0a30a7000)

I would post that in the proper forum, but I need to get five posts first. :)
Jump to: