llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Compile bug: No rule to make target '/usr/lib/librt.a'

Open jiafatom opened this issue 4 weeks ago • 1 comments

Git commit

git rev-parse HEAD c5ede3849fc021174862f9c0bf8273808d8f0d39

Operating systems

Linux

GGML backends

CUDA

Problem description & steps to reproduce

I want to build llama.cpp from source in docker. apt install nvidia-cuda-toolkit cmake -B build -DGGML_CUDA=ON cmake --build build --config Release [ 3%] Built target ggml-base make[2]: *** No rule to make target '/usr/lib/librt.a', needed by 'ggml/src/ggml-cuda/libggml-cuda.so'. Stop. make[1]: *** [CMakeFiles/Makefile2:1744: ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

Any comments? Thank you!

First Bad Commit

No response

Compile command

See above.

Relevant log output

See above.

jiafatom avatar Jan 23 '25 20:01 jiafatom