xkaraman left a comment (kamailio/kamailio#4429)
So actually, it's not using the static library.
The `-dev` packages installs the `.pc` (pkg-config) file that looks for the
libaries which i think but not definetely sure is about only shared variant (at
least from the results).
When searching for the library with `pkg_check_modules(hiredis_ssl
hiredis_ssl)`, it says that `library was found` but this is about the shared
variant and not static one.
So it actually tries to link with the shared variant which is not installed and
therefore when run it fails to find the symbols.
Also `CMake` does not respect the point about `xxx_STATIC_[var]` variables, at
least for the hiredis and therefore it's not getting any information about the
static variant.
Not sure if this is an upstream error in how `pkgconfig` is set up in redis or
how the `alpine` packages it.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4429#issuecomment-3397660958
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!