Closed bjmgeek closed 8 years ago
This is on Debian Jessie/Sid, with Linux kernel 4.0.0 on amd64.
g++ -o ldb ldb.cc ./lib/*.cc -I./deps/leveldb/include -std=gnu++11 -lpthread ./deps/leveldb/libleveldb.a -lsnappy ./linenoise.o g++: error: ./deps/leveldb/libleveldb.a: No such file or directory Makefile:28: recipe for target 'ldb' failed make: *** [ldb] Error 1
I can see that the libleveldb.a file is not in the deps/leveldb directory, but one level down, in the out-static directory:
deps/leveldb
out-static
~/src/ldb$ ls deps/leveldb/ AUTHORS build_detect_platform* db/ helpers/ issues/ Makefile out-shared/ port/ table/ util/ build_config.mk CONTRIBUTING.md doc/ include/ LICENSE NEWS out-static/ README.md TODO ~/src/ldb$ ls deps/leveldb/out-static/libleveldb.a deps/leveldb/out-static/libleveldb.a
yea maybe the path is just off. im too busy at the moment to dig in but would be happy to accept a PR and then add you as a contributor! :beers:
This is on Debian Jessie/Sid, with Linux kernel 4.0.0 on amd64.
I can see that the libleveldb.a file is not in the
deps/leveldb
directory, but one level down, in theout-static
directory: