cyrenity/mod_whisper

load module error

Opened this issue · 2 comments

hi,
I had porblem when i load this module on freeswitch, which return the error like this

2023-09-04 18:02:41.525076 [CRIT] switch_loadable_module.c:1785 Error Loading module /usr/local/freeswitch/lib/freeswitch/mod/mod_whisper.so
**/usr/local/freeswitch/lib/freeswitch/mod/mod_whisper.so: undefined symbol: lws_wsi_user**

And i had install ths libwebsockets, and the version of libwebsockets is v4.3.2

ldconfig -p |grep libwebsockets

return:

	libwebsockets.so.19 (libc6,x86-64) => /usr/local/lib/libwebsockets.so.19
	libwebsockets.so.13 (libc6,x86-64) => /usr/lib64/libwebsockets.so.13
	libwebsockets.so (libc6,x86-64) => /usr/local/lib/libwebsockets.so

Thanks in advance.

You need to re-compile after installing libwebsockets

@chubenli did you solve this?

I have the same issue and it looks like its an issue with linking libwebsockets in at compile time.

I'm on debian 12 in docker so every compile is a fresh compile after installing libwebsockets and libwebsockets-dev. Recompiling results in the same issue