On Fri, Dec 20, 2019 at 2:30 AM Vieri <[email protected]> wrote:
> > On Friday, December 20, 2019, 10:17:29 AM GMT+1, Mike Jumper < > [email protected]> wrote: > > > > https://issues.apache.org/jira/browse/GUACAMOLE-637 > > This was reported after the 1.0.0 release and has since been fixed on > git. > > OK, GIT version compiles fine. Thanks. > > Just a minor issue: > > checking for lws_create_context in -lwebsockets... no > configure: WARNING: > -------------------------------------------- > Unable to find libwebsockets. > Support for Kubernetes will be disabled. > -------------------------------------------- > > I have libwebsockets-3.2.0. > > # grep -r lws_create_context /usr/include/* > /usr/include/libwebsockets/lws-context-vhost.h: * lws_create_context() - > Create the websocket handler > /usr/include/libwebsockets/lws-context-vhost.h:lws_create_context(const > struct lws_context_creation_info *info); > /usr/include/libwebsockets/lws-context-vhost.h: * \param context: > pointer to result of lws_create_context() > /usr/include/libwebsockets/lws-context-vhost.h: * \param context: > pointer to result of lws_create_context() > The test for the presence of libwebsockets is independent of the presence of its headers, though compilation will still need them. The test checks whether the linker can find the library, and whether code that contains a reference to that function will successfully link against the library: https://github.com/apache/guacamole-server/blob/c97b8f287eaf756504edd9559d95ba6568b12bb1/configure.ac#L1253-L1261 If that test is failing, it is because the function lws_create_context() cannot be found within the libwebsockets.so binary, or the linker can't find the library at all. The more verbose output within config.log might help determine what's missing in your case. - Mike
