alipay / vsag

vsag is a vector indexing library used for similarity search.
Apache License 2.0
116 stars 10 forks source link

libvsag.so: cannot open shared object file: No such file or directory #52

Closed Myrrolinz closed 5 days ago

Myrrolinz commented 5 days ago

While I was trying to use Tugraph which is dependent on vsag now, I encounted this problem: ./unit_test: error while loading shared libraries: libvsag.so: cannot open shared object file: No such file or directory

Although I followed all the steps written in tugraph-compile-contos7-Dockerfile:

# install vsag
RUN wget -O /tmp/vsag.tar.gz https://tugraph-web.oss-cn-beijing.aliyuncs.com/tugraph/deps/vsag.tar.gz \
    && tar -xzvf /tmp/vsag.tar.gz -C /tmp \
    && cd /tmp/vsag && sh ./scripts/deps/install_deps_centos.sh \
    && yum install -y libgfortran5.x86_64 && ln -s /usr/lib64/libgfortran.so.5.0.0 /usr/local/lib/libgfortran.so \
    && ldconfig && make release VSAG_CMAKE_ARGS="-S. -Bbuild -DDISABLE_SSE_FORCE=OFF -DDISABLE_AVX_FORCE=OFF -DDISABLE_AVX2_FORCE=OFF -DDISABLE_AVX512_FORCE=ON" \
    && make install && rm -rf /tmp/vsag /tmp/vsag.tar.gz /opt/intel

It's no use. The error still appears. What should I do now?