Anonymous 09/06/2025 (Sat) 14:48 No.26924 del
>>26911
grocksdb was what I spent this morning fixing. that version of builds against rocksdb v10.2.1 and the Debian repos only go up to v9. you have to get 10.2.1 from GitHub and build/install it

this it what I put in my Dockerfile:
#rocksdb lib to fix go errors?
RUN apt-get install -y \
libsnappy-dev zlib1g-dev libbz2-dev \
liblz4-dev libzstd-dev libgflags-dev
WORKDIR /tmp
RUN wget -q https://github.com/facebook/rocksdb/archive/refs/tags/v10.2.1.tar.gz \
&& tar -xzf v10.2.1.tar.gz
WORKDIR /tmp/rocksdb-10.2.1
RUN make DISABLE_WARNING_AS_ERROR=ON static_lib -j
nproc

RUN cp librocksdb.a /usr/lib/
RUN mkdir -p /usr/include/rocksdb && cp -r include/rocksdb/* /usr/include/rocksdb/

make sure you go back to the correct workdir after. also it takes a million years to build.

Message too long. Click here to view full text.