Open Lvl4Sword opened 5 years ago
This one looks like you need to install these libraries:
sudo apt-get install zlib1g-dev
maybe this will help
https://stackoverflow.com/questions/3373995/usr-bin-ld-cannot-find-lz
woodcoin-core/woodcoin-linux#3 would fix this it looks like. Even if I can make it, it can't be ran on anything other than Ubuntu 16.04 LTS ( as far as I can tell. ), which is greatly limiting exposure.
First run of make -f makefile.unix within /src gives me
g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/build/woodcoin-master/src -I/home/build/woodcoin-master/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/build/woodcoin-master/src/leveldb/include -I/home/build/woodcoin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -o woodcoind leveldb/libleveldb.a obj/version.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/skein.o obj/leveldb.o obj/txdb.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread /home/build/woodcoin-master/src/leveldb/libleveldb.a /home/build/woodcoin-master/src/leveldb/libmemenv.a /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status makefile.unix:191: recipe for target 'woodcoind' failed make: *** [woodcoind] Error 1
Second run gives me
/bin/sh ../share/genbuild.sh obj/build.h g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/build/woodcoin-master/src -I/home/build/woodcoin-master/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/build/woodcoin-master/src/leveldb/include -I/home/build/woodcoin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -o woodcoind leveldb/libleveldb.a obj/version.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/skein.o obj/leveldb.o obj/txdb.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread /home/build/woodcoin-master/src/leveldb/libleveldb.a /home/build/woodcoin-master/src/leveldb/libmemenv.a /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status makefile.unix:191: recipe for target 'woodcoind' failed make: *** [woodcoind] Error 1