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

linux GLIBCXX_3.4.29 and GLIBC_2.34 not found

Open openMolNike opened this issue 2 years ago • 4 comments

I use Linux Mint 20.3 I got errors:

/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./chat)
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./chat)
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chat)

I fixed libstdc++ this way:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt-get update
sudo apt-get upgrade libstdc++6

can i fix libc too?

i can check installed versions this way:

strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC

I'm too lazy now to reinstall the entire system just for the sake of testing this project (I already tested it on a computer with 16GB on Windows and was not impressed. On Linux I have 32GB of RAM)

openMolNike avatar Mar 24 '23 14:03 openMolNike

ok. I'v reinstalled my linux and tried 30b model. This is really better =) now i want to buy 64GB RAM and waiting for next version of this chat!

openMolNike avatar Mar 26 '23 11:03 openMolNike

How can I install 30b model?

621625 avatar Apr 04 '23 04:04 621625

@openMolNike I am getting error in sudo apt-get upgrade libstdc++6 because of File has unexpected size (893670 != 893668). Mirror sync in progress? How to solve this ??

cologne-12 avatar Apr 14 '23 11:04 cologne-12

Solution : Just git clone and run the main file and run chat app by putting weights in the same error this works !!

cologne-12 avatar Apr 14 '23 16:04 cologne-12