lbry-rocksdb icon indicating copy to clipboard operation
lbry-rocksdb copied to clipboard

zlib1.2.12 not found

Open jason-nguyen17 opened this issue 3 years ago • 1 comments

Hi, i found this error Please update new url https://www.zlib.net/fossils/zlib-1.2.12.tar.gz

telegram-cloud-photo-size-5-6068915233541436180-y

jason-nguyen17 avatar Nov 30 '22 08:11 jason-nguyen17

https://github.com/lbryio/rocksdb/pull/1 then

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,8 @@ src/rocksdb/librocksdb.a:
                -Dlz4_LIBRARIES=../lz4-1.9.3/lib \
                -Dzstd_INCLUDE_DIRS=../zstd-1.4.9/lib \
                -Dzstd_LIBRARIES=../zstd-1.4.9/lib \
-               -DZLIB_INCLUDE_DIR=../zlib-1.2.12 \
-               -DZLIB_LIBRARY=./zlib-1.2.12 \
+               -DZLIB_INCLUDE_DIR=../zlib-1.3 \
+               -DZLIB_LIBRARY=./zlib-1.3 \
                -DCMAKE_CXX_FLAGS="-fPIC -I../snappy-1.1.8/build -I../zstd-1.4.9/lib/dictBuilder" \
                .. && make -j $(JOBS))

drzraf avatar Nov 17 '23 02:11 drzraf