Description of problem: Libwebsockets is not working if glib event loop option is specified. Version-Release number of selected component (if applicable): 4.3.2-8 How reproducible: Always Steps to Reproduce: 1. Install libwebsockets and libwebsockets-devel using dnf 2. Write a program that initializes libwebsockets requiring the use of glib's event loop: ```c struct lws_context_creation_info info; memset(&info, 0, sizeof info); info.options = LWS_SERVER_OPTION_GLIB; ws_data.context = lws_create_context(&info); ``` 3. Compile and run the program Actual results: I see this program output: ``` [2024/11/10 21:35:02:1240] E: lws_create_context: failed to load evlib_glib ``` And then websocket context initialization fails. Expected results: Websocket context initialization should work. Additional info: I have checked that all libwebsockets libs are in the correct folder, including libwebsockets-evlib_glib.so: ```bash $ ls /usr/local/lib | grep libwebsockets libwebsockets.a libwebsockets-evlib_event.so libwebsockets-evlib_ev.so libwebsockets-evlib_glib.so libwebsockets-evlib_uv.so libwebsockets.so libwebsockets.so.19 ```
At first glances this looks like an upstream issue and not a packaging bug. Please check https://libwebsockets.org/mailman/listinfo/libwebsockets (sorry, I can't find libwebsockets's issue tracker).
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
> $ ls /usr/local/lib | grep libwebsockets > libwebsockets.a > libwebsockets-evlib_event.so > libwebsockets-evlib_ev.so > libwebsockets-evlib_glib.so > libwebsockets-evlib_uv.so > libwebsockets.so > libwebsockets.so.19 Given it's installed in /usr/local, and we don't ship either the static libs or build the glib event plugin this looks like a custom build from upstream so please report the bug there.