As I remember you need to use libks 1.8.2 version
__________________________________________________________Hello all!I am struggling on compiling StriShaken module on RHEL 9.2.So far, the module was compiled as well as libstirshaken.Below are the steps used to compile (as sudo) both library and module (I hope this may help someone) and, of course, correct me if I am wrong in any step or if there is a better way.Also, note that the RHEL 9,2 is in a VM environment without access to the WWW, instead it uses Red Hat Satellite to download packages (via Yum or DNF), if available.Lib LibKSdownload libks from https://github.com/signalwire/libksunzipmove to dir created by Unziprunyum groupinstall "Development Tools"dnf install libuuid-devel libatomic openssl-develcmake .makemake installcp /usr/lib/pkgconfig/libks2.pc /usr/lib64/pkgconfig/.For module LibStirShaken:unzipmove to dirif using OpenSSL3.0 or + edit file configure.ac and add after line 28:if test x$HAVE_OPENSSL = x1; thenopenssl_CFLAGS="$openssl_CFLAGS -DHAVE_OPENSSL";/* PATCH FOR OPENSSL3 */AC_MSG_CHECKING([for OpenSSL >= 3.0.0])AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <openssl/opensslv.h>#if OPENSSL_VERSION_PREREQ(3,0)#error "you_have_version_3"#endif]], [[]])],[ AC_MSG_RESULT([no]) ],[ AC_MSG_RESULT([yes]);AC_DEFINE(OPENSSL_SUPPRESS_DEPRECATED, 1, [disable openssl deprecated-function warnings]) ])/* END OF PATCH */elseAC_MSG_ERROR([OpenSSL >= 1.0.1e and associated developement headers required])firunconfiguremakesudo make installnext, move to dir /root/kamailio/kamailio-5.7.4/src/modules/stirshakencd /root/kamailio/kamailio-5.7.4/src/modules/stirshakenln -s /root/stirshakenlib/libks-master/src/include/libks libksmakemake installAll seem to compile OK , *but* when starting Kamailio I get the following errors:May 29 17:42:02 kamailio1 kamailio[248991]: ERROR: <core> [core/sr_module.c:599]: ksr_load_module(): could not open module </usr/local/lib64/kamailio/modules/stirshaken.so>: libstirshaken.so.1: cannot open shared object file: No such file or directoryMay 29 17:42:02 kamailio1 kamailio[248991]: CRITICAL: <core> [core/cfg.y:3915]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio_stir_shaken_mod.cfg, line 106, column 12-26: failed to load moduleI haven't found a solution for this.Can anyone help?Thanks in advance!Sérgio Charrua
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: