lyatanski left a comment (kamailio/kamailio#4429)
> What happens if you remove the link to OpenSSL completely and just linking to
> hiredis_ssl?
At least in my setup the SSL symbols are still missing during runtime. This is
kind if expected as the library for `libhiredis_ssl.a` is static library and it
does not carry dynamic dependencies data in it. In such situations the linkage
against SSL is necessary. I guess, the reason for the documentation to mention
explicit linkage is to cover static linkage scenario as well.
@xkaraman Thank you for this question, because it brought me to my epiphany -
@sergey-safarov was linking against dynamic library in his image
`libhiredis_ssl.so.1.3.0 => /usr/lib/libhiredis_ssl.so.1.3.0 (0x7fc130c52000)`
Dynamic libraries bring their own dependencies (provided by the linkage as you
mentioned) and everything works fine. In my case, aka. static - problem.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4429#issuecomment-3397268943
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4429/[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!