ldb icon indicating copy to clipboard operation
ldb copied to clipboard

linker failed error on Mac OS

Open TimDaub opened this issue 3 years ago • 0 comments

Receiving objects: 100% (21/21), 30.52 KiB | 781.00 KiB/s, done.
Resolving deltas: 100% (1/1), done.
c++ -o ldb ldb.cc ./lib/*.cc ./deps/docopt/docopt.cpp -I./deps/leveldb/include -std=gnu++11 -stdlib=libc++ -lpthread -L/usr/local/lib ./deps/leveldb/build/libleveldb.a linenoise.o -lsnappy
ld: library not found for -lsnappy
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ldb] Error 1

TimDaub avatar Jan 05 '23 12:01 TimDaub