-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Failing to build using cmake on tag b3912 #9913
Comments
I had the same problem. In fact make works fine and cmake doesn't. |
Are you perhaps just missing packages? |
|
Did anyone manage to resolve this? Same problem on RHEL! |
@Martin-HZK where is the glibc found in your case? |
I met the same question.
|
Problem solved after creating a new conda env
|
I created links to make it work. Rebuilding the environment didn't work for me (I was trying to build bitnet-cpp). sudo ln -s /usr/lib/x86_64-linux-gnu/libpthread.so.0 /lib64/libpthread.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/libpthread_nonshared.a
sudo ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/libc_nonshared.a
sudo ln -s /usr/lib/x86_64-linux-gnu/libc.so /lib64/libc.so.6 |
Maybe it is something to do with the the glib version that is connected with the kernel version |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
What happened?
I can successfully build llama.cpp using make, but failing to do it using cmake. I tried this on Ubuntu 22.04 LTS and 24.04 LTS on my Intel Core Ultra 9 185H. It seems that is searching the glibc in the wrong path.
Name and Version
$ ./llama-cli --version
version: 3912 (edc2656)
built with cc (conda-forge gcc 14.2.0-1) 14.2.0 for x86_64-conda-linux-gnu
What operating system are you seeing the problem on?
Linux
Relevant log output
The text was updated successfully, but these errors were encountered: