Compilation works on ubuntu 24.04:
``` $ lsb_release -a
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble
$ apt-cache show libhiredis-dev
Package: libhiredis-dev Architecture: amd64 Version: 1.2.0-6ubuntu3 Multi-Arch: same Priority: optional Section: universe/libdevel Source: hiredis Origin: Ubuntu Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Original-Maintainer: Chris Lamb lamby@debian.org Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 338 Depends: libhiredis1.1.0 (= 1.2.0-6ubuntu3) Filename: pool/universe/h/hiredis/libhiredis-dev_1.2.0-6ubuntu3_amd64.deb Size: 78290 MD5sum: 790b50b9b14a145fa162c4aa22735bc2 SHA1: 8907a8d38a519c8da192c1bb3bde903b21c9068b SHA256: 178926b5b14988c86f8f359f61894abd4ea6966e852a00349dbeaf3cccda09a2 SHA512: 1b00b86dc9f6ae3d7bf4227df9865a416eed895aa099833f88a96ebc4da894241a7439414677aa8516bc9d22b2467ab782b0f16206c828e4054a7369efd15d06 Homepage: https://github.com/redis/hiredis Description-en: minimalistic C client library for Redis (development files) Hiredis is a minimalistic C client library for the Redis database. It is minimalistic because it just adds minimal support for the protocol, but at the same time it uses an high level printf-alike API in order to make it much higher level than otherwise suggested by its minimal code base and the lack of explicit bindings for every Redis command. . Apart from supporting sending commands and receiving replies, it comes with a reply parser that is decoupled from the I/O layer. It is a stream parser designed for easy reusability, which can for instance be used in higher level language bindings for efficient reply parsing. . Hiredis only supports the binary-safe Redis protocol, so you can use it with any Redis version >= 1.2.0. . The library comes with multiple APIs. There is the synchronous API, the asynchronous API and the reply parsing API. . This package provides the development files for hiredis. Description-md5: e66ca6207edf03fce2e0fedb4fa9c230
$ ldd db_redis.so
linux-vdso.so.1 (0x00007ffffe2db000) libhiredis.so.1.1.0 => /lib/x86_64-linux-gnu/libhiredis.so.1.1.0 (0x000074daaf038000) libhiredis_ssl.so.1.1.0 => /lib/x86_64-linux-gnu/libhiredis_ssl.so.1.1.0 (0x000074daaf031000) libsrdb1.so.1 => /home/henning/repositories/kamailio/src/lib/srdb1/libsrdb1.so.1 (0x000074daaeff7000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000074daaec00000) libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x000074daaef4d000) libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x000074daae600000) /lib64/ld-linux-x86-64.so.2 (0x000074daaf0e8000)
```