# mooncake master cannot run successfully
root@TENCENT64:/vllm-workspace# /usr/local/lib/python3.12/dist-packages/mooncake/mooncake_master
/usr/local/lib/python3.12/dist-packages/mooncake/mooncake_master: error while loading shared libraries: libgrpc++.so.1: cannot open shared object file: No such file or directory
# it lack of a lots of other dependencies
root@TENCENT64:/vllm-workspace# ldd /usr/local/lib/python3.12/dist-packages/mooncake/mooncake_master
linux-vdso.so.1 (0x00007ffc63fde000)
libgrpc++.so.1 => not found
libprotobuf.so.23 => not found
libetcd-cpp-api.so => not found
libibverbs.so.1 => /usr/lib/x86_64-linux-gnu/libibverbs.so.1 (0x00007fd2f9671000)
libjsoncpp.so.25 => not found
libglog.so.0 => not found
libgflags.so.2.2 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd2f9443000)
libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd2f9423000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007fd2f91fa000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd2f97af000)
libnl-route-3.so.200 => /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200 (0x00007fd2f9177000)
libnl-3.so.200 => /usr/lib/x86_64-linux-gnu/libnl-3.so.200 (0x00007fd2f9152000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007fd2f906b000)
# After I added lib_so to the LD_LIBRARY_PATH
root@TENCENT64:/vllm-workspace# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.12/dist-packages/mooncake/lib_so/
root@TENCENT64:/vllm-workspace# ldd /usr/local/lib/python3.12/dist-packages/mooncake/mooncake_master
linux-vdso.so.1 (0x00007fff9957d000)
libgrpc++.so.1 => not found
libprotobuf.so.23 => not found
libetcd-cpp-api.so => /usr/local/lib/python3.12/dist-packages/mooncake/lib_so/libetcd-cpp-api.so (0x00007fae33fdd000)
libibverbs.so.1 => /usr/lib/x86_64-linux-gnu/libibverbs.so.1 (0x00007fae33fba000)
libjsoncpp.so.25 => not found
libglog.so.0 => not found
libgflags.so.2.2 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fae33d8c000)
libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fae33d6c000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007fae33b43000)
/lib64/ld-linux-x86-64.so.2 (0x00007fae3457e000)
libcpprest.so.2.10 => not found
libgpr.so.10 => not found
libgrpc.so.10 => not found
libgrpc++.so.1 => not found
libprotobuf.so.23 => not found
libnl-route-3.so.200 => /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200 (0x00007fae33abc000)
libnl-3.so.200 => /usr/lib/x86_64-linux-gnu/libnl-3.so.200 (0x00007fae33a99000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007fae339b2000)
@xiaguan Great job, it works.
After testing, it appears that the issue is related to the Python version—there seem to be some problems with installing version 3.12. The issue will be addressed and resolved tomorrow. Thank you for reporting it.
Thank you so much. We will test with vllm container tomorrow. We have verified that it fits with the sglang container, but haven’t checked it with the vllm container yet. Currently, this is still a beta version for the sglang users, the official 0.3.0 release will definitely work well with both engines.
@maobaolong https://pypi.org/project/mooncake-transfer-engine/, released new version
fixed this issue in #249 yesterday
We are currently collecting several other patches for the next release. If you need an urgent fix for this issue, you can manually download the available py312 wheel package from: https://github.com/kvcache-ai/Mooncake/actions/runs/14463285244.
@ShangmingCai @xiaguan Admire your efficiency 🫡
Our latest distribution of Mooncake Python library has fixed this problem. Close this issue.
We are preparing to include all referenced dynamic libraries in the whl package. To work around the problem you can install all dependencies by using
bash dependencies.shin prior. See #222 in detail.