sergey-safarov left a comment (kamailio/kamailio#4401)
In the meantime, I have compiled Kamailio sources on Alpine using CMake.
Build can be tested
```
docker pull ghcr.io/sergey-safarov/kamailio-ci:master-alpine
docker run -it network host ghcr.io/sergey-safarov/kamailio-ci:master-alpine
```
In this build no TLS deps
```
/ # readelf -d /usr/lib/kamailio/modules/ndb_redis.so | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libhiredis.so.1.3.0]
0x0000000000000001 (NEEDED) Shared library: [libc.musl-x86_64.so.1]
```
and
```
/ # LD_PRELOAD=/usr/sbin/kamailio ldd /usr/lib/kamailio/modules/ndb_redis.so
/lib/ld-musl-x86_64.so.1 (0x7f53add6b000)
/usr/sbin/kamailio => /usr/sbin/kamailio (0x7f53ad85a000)
libhiredis.so.1.3.0 => /usr/lib/libhiredis.so.1.3.0 (0x7f53ad84a000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f53add6b000)
```
I have checked `Makefile` and see SSL enabled if present `libhiredis_ssl.so` on
host.
https://github.com/kamailio/kamailio/blob/master/src/modules/ndb_redis/Makefile#L18
This file is packaged in
[hiredis-ssl](https://pkgs.alpinelinux.org/package/edge/main/aarch64/hiredis-ssl)
https://pkgs.alpinelinux.org/contents?file=libhiredis_ssl.so&path=&name=&branch=edge&repo=&arch=
I will add this to deps and rebuild again.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4401#issuecomment-3327323559
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4401/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!