Open shrublet opened 1 month ago
I'm experiencing the same thing, using both flatpaks.
Same issue
Once im tryuing to run OBS studio with InputOverlay plugin via
flatpak run com.obsproject.Studio
I see next error:
error: os_dlopen(/app/plugins/lib/obs-plugins/input-overlay.so->/app/plugins/lib/obs-plugins/input-overlay.so): libobs-frontend-api.so.0: cannot open shared object file: No such file or directory
LD_DEBUG=libs ldd input-overlay.so
tells that lib is not found:
...
45: find library=libobs-frontend-api.so.0 [0]; searching
45: search cache=/etc/ld.so.cache
45: search path=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3:/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2:/usr/lib/x86_64-linux-gnu (system search path)
45: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/libobs-frontend-api.so.0
45: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libobs-frontend-api.so.0
45: trying file=/usr/lib/x86_64-linux-gnu/libobs-frontend-api.so.0
...
libobs-frontend-api.so.0 => not found
...
find / -name "libobs-frontend-api*"
/app/lib/libobs-frontend-api.so
/app/lib/libobs-frontend-api.so.0
/app/lib/libobs-frontend-api.so.30
/app/lib/libobs-frontend-api.so.30.2.3
So as a fix I set LD_LIBRARY_PATH
to /app/lib
for a com.obsproject.Studio
:
flatpak override --env=LD_LIBRARY_PATH=/app/lib com.obsproject.Studio
Logs
Not sure what additional information I need to give. I think the basic stuff is in the logs. On Fedora 41/GNOME 47. Both OBS and the plugin were installed from flathub and are installed. Have tried reinstalling the plugin, but same result. Thanks in advance.