Skip to content

HOWTO: Compile and Install litecoind on CentOS 6.4 (centos 6.2 and centos 6.3 are the same)

January 8, 2014

Some System info:

# uname -a
Linux mediamosa 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/issue
CentOS release 6.4 (Final)

Installation:

First, please have a look at the great docs from litecoin.info: https://litecoin.info/Compiling_the_Litecoin_daemon_from_source_on_Debian

Then, please read a lot more docs about litecoin and litecoind 🙂

Now, let’s proceed:

1. Download sources

#git clone https://github.com/litecoin-project/litecoin

#wget http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.8.tar.gz

2. Install requirements and depends

#yum install gcc openssl-devel libdbi-devel.x86_64 boost-devel qrencode-devel.x86_64 gcc-c++ compat-gcc-32 compat-gcc-32-c++ db4-devel.x86_64 db4-cxx.x86_64 dbus-cxx-devel.x86_64 boost-thread boost-devel libodb-boost-devel.x86_64

#cd /usr/lib64

#ln -s libboost_thread-mt.so libboost_thread.so  /* SOLUTION FOR THE ERROR:

usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [litecoind] Error 1   */

3. Compile and install miniupnpc

#tar zxvf miniupnpc-1.8.tar.gz && cd miniupnpc-1.8

#make && make install

4. Compile and install litecoind

#make -f makefile.unix USE_UPNP=1 USE_QRCODE=1 USE_IPV6=0

5. After Compiling tasks:

# adduser litecoin && usermod -g users litecoin && groupdel litecoin && chmod 0701 /home/litecoin
# chmod 0701 /home/litecoin
# mkdir /home/litecoin/bin
# cp /root/temp/litecoin/src/litecoind /home/litecoin/bin/litecoind
# chown -R /home/litecoin/bin litecoin:users
# chown -R litecoin:users /home/litecoin/bin

 

* turn your litecoind daemon with litecoin user permissions.

* write your startup and/or shutdown scripts.

 

 

Advertisements

From → Coins, LTC

8 Comments
  1. Kyle permalink

    Thanks trying this now!

  2. jeper permalink

    getting the following error while running this ./litecoind: error while loading shared libraries: libminiupnpc.so.9: cannot open shared object file: No such file or directory

    • you have to install miniupnpc

      • i have installed and located in “/usr/lib/libminiupnpc.so.9” but getting the same error

  3. while run ./litecoind gives error “./litecoind: error while loading shared libraries: libminiupnpc.so.9: cannot open shared object file: No such file or directory”

  4. After installing miniupnc, Now i am getting this error
    litecoind: key.cpp:134: {anonymous}::CECKey::CECKey(): Assertion `pkey != __null’ failed.

  5. Large transactions, maybe $10,000+ you would wait for 6 or more confirmations to be sure. Say you buying that Tesla for $100,000 using bitcoin, It would probably take longer to fill out all the paperwork than the time it would take the 6 confirmations to go through.

Trackbacks & Pingbacks

  1. How to install litecoin daemon in AMI - BTCServant.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: