LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   clang++: /usr/lib/libc.so.6: version `GLIBC_2.36' not found (https://www.linuxquestions.org/questions/arch-29/clang-usr-lib-libc-so-6-version-%60glibc_2-36-not-found-4175716929/)

BudiKusasi 09-19-2022 08:59 PM

clang++: /usr/lib/libc.so.6: version `GLIBC_2.36' not found
 
In current installed clang LLVM, a build get error:

Code: [Select]
...
clang++: /usr/lib/libc.so.6: version `GLIBC_2.36' not found (required by /usr/lib/libLLVM-14.so)

Please help solve this build error (it's build stockfish by running its make)

pan64 09-20-2022 02:44 AM

So you need a newer glibc (most probably). But without details hard to say more.

teckk 09-20-2022 03:13 PM

How are you trying to install clang?
Code:

pacman -Si clang
What version of glibc do you have installed? I'm 15 days not up to date and I have:
Code:

pacman -Ss glibc
core/glibc 2.36-3 [installed]

Are you partially updated? Tell more about what you are doing.
Quote:

In current installed clang LLVM, a build get error:
When you are trying to build what?

teckk 09-20-2022 03:16 PM

Oh I see, the forum is arch, but...are you using artix? That's not arch.

I see this too now
Quote:

(it's build stockfish by running its make
Where are you getting that from? Are you using the arch ABS, or does artix have it's own ABS, or are you building form source? etc.

Does this build?
https://aur.archlinux.org/packages/stockfish

But once again, it's for arch.

BudiKusasi 09-20-2022 05:52 PM

correct, just forgot -Syu to get the latest


so solved now, thanks


All times are GMT -5. The time now is 10:02 PM.