Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin failing to load #10

Open
shrublet opened this issue Oct 6, 2024 · 4 comments
Open

Plugin failing to load #10

shrublet opened this issue Oct 6, 2024 · 4 comments

Comments

@shrublet
Copy link

shrublet commented Oct 6, 2024

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.

@dreamsyntax
Copy link

I'm experiencing the same thing, using both flatpaks.

@coatlessali
Copy link

Same issue

@5n00p4eg
Copy link

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

@5n00p4eg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants