Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build daemon wallet on ubuntu 16.04 for run ytn pool on yiimp #20

Open
2pay opened this issue Mar 2, 2018 · 1 comment
Open

Comments

@2pay
Copy link

2pay commented Mar 2, 2018

How to build daemon wallet on ubuntu 16.04 for run ytn pool on yiimp. I am builded but can't connect to stratum.

@2pay
Copy link
Author

2pay commented Mar 4, 2018

when build on Ubuntu 16.04 it show error:

configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore)

I am found sulution to fix:

First install Berkeley DB 4.8:

wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx
make
sudo make install

Tell your system where to find db4.8

export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so

Run:

./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --with-incompatible-bdb --enable-upnp-default --without-gui --disable-tests

Run:

make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant