Post
Topic
Board Announcements (Altcoins)
Re: [ANN][MONA] Monacoin LAUNCHING 2014/01/01 0:00 GMT
by
shazeal
on 02/01/2014, 05:29:58 UTC
I can't build the qt from source, I have this error:

Quote
uild/leveldb.o: In function `CLevelDB::CLevelDB(boost::filesystem::path const&, unsigned long, bool, bool)':
leveldb.cpp:(.text+0x419): undefined reference to `leveldb::Env::Default()'
/home/blaise/Downloads/coins/monacoin/src/leveldb/libleveldb.a(comparator.o): In function `leveldb::BytewiseComparator()':
comparator.cc:(.text+0x47f): undefined reference to `leveldb::port::InitOnce(leveldb::port::OnceType*, void (*)())'
/home/blaise/Downloads/coins/monacoin/src/leveldb/libleveldb.a(options.o): In function `leveldb::Options::Options()':
options.cc:(.text+0x2d): undefined reference to `leveldb::Env::Default()'
collect2: error: ld returned 1 exit status
make: *** [monacoin-qt] Error 1

Any idea how to fix this?

Thanks Smiley

Yeah yet another wallet with improper leveldb setup. To do it the devs way you need to 'chmod +x src/leveldb/build_detect_platform' that should let you run the make -f makefile.unix

To do it the correct way you need to change all the libraries linked from the leveldb dir and link against system libraries. Best not to try this unless you understand Makefile / linking.