From 9bd6606ae79af6359a9bd3c2929b39fdbb367ea7 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Sun, 7 Apr 2019 11:59:21 -0400 Subject: [PATCH] fix Linux build dependencies --- Makefile | 5 +++-- README.md | 8 +++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index acfcd50..31667e2 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,6 @@ MONERO_LIBS = \ ${MONERO_BUILD_ROOT}/src/ringct/libringct_basic.a \ ${MONERO_BUILD_ROOT}/src/device/libdevice.a \ ${MONERO_BUILD_ROOT}/src/blockchain_db/libblockchain_db.a \ - ${MONERO_BUILD_ROOT}/external/unbound/libunbound.a \ ${MONERO_BUILD_ROOT}/contrib/epee/src/libepee.a \ ${MONERO_BUILD_ROOT}/external/easylogging++/libeasylogging.a @@ -59,7 +58,7 @@ LIBS := lmdb pthread microhttpd ifeq ($(OS), Darwin) LIBS += c++ boost_system-mt boost_date_time-mt boost_chrono-mt boost_filesystem-mt boost_thread-mt else -LIBS += boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid +LIBS += dl boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid endif PKG_LIBS := $(shell pkg-config \ @@ -67,6 +66,7 @@ PKG_LIBS := $(shell pkg-config \ json-c \ openssl \ libsodium \ + libunbound \ --libs) STATIC_LIBS = @@ -79,6 +79,7 @@ PKG_INC := $(shell pkg-config \ json-c \ openssl \ libsodium \ + libunbound \ --cflags) LIBPATH := /opt/local/lib/ /usr/local/lib diff --git a/README.md b/README.md index 2779b14..cd97eb2 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,12 @@ export MONERO_BUILD_ROOT=$MONERO_ROOT/build/// Replacing the values appropriately. -Beyond the Monero dependencies, the following libraries are also required to -build the pool: +Beyond the Monero dependencies, the following extra libraries are also required +to build the pool: - liblmdb - libevent - json-c -- openssl - libmicrohttpd - uuid @@ -57,8 +56,7 @@ As an example, on Ubuntu, these dependencies can be installed with the following command: ``` -sudo apt-get install libjson-c-dev uuid-dev libevent-dev libmicrohttpd-dev \ - liblmdb-dev openssl +sudo apt-get install liblmdb-dev libevent-dev libjson-c-dev libmicrohttpd-dev uuid-dev ``` ### Compile