I collect Litecoin Core v0.21.2.2 from supply below Devuan 5 Daedalus and get error.
./autogen
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/come with"
make
make[3]: Leaving listing '/house/y/crypto/ltc/litecoin-0.21.2.2'
CXXLD litecoind
/usr/bin/ld: /usr/native/db4/lib/libdb_cxx-4.8.a(os_yield.o): in serve as `__os_yield':
os_yield.c:(.textual content+0x90): undefined connection with `pthread_yield'
collect2: error: ld returned 1 go out standing
make[2]: *** [Makefile:8919: litecoind] Error 1
make[2]: Leaving listing '/house/y/crypto/ltc/litecoin-0.21.2.2/src'
make[1]: *** [Makefile:21423: all-recursive] Error 1
make[1]: Leaving listing '/house/y/crypto/ltc/litecoin-0.21.2.2/src'
make: *** [Makefile:815: all-recursive] Error 1
gcc --version
gcc (Debian 12.2.0-14) 12.2.0
lsb_release -a
No LSB modules are to be had.
Distributor ID: Devuan
Description: Devuan GNU/Linux 5 (daedalus)
Unlock: 5
Codename: daedalus
uname -a
Linux devuan 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
Please, what to do with pthread_yield ?