ratwithacompiler / OBS-captions-plugin

Closed Captioning OBS plugin using Google Speech Recognition
GNU General Public License v2.0
1k stars 69 forks source link

Incompatibility with Flatpak OBS #101

Open Jookia opened 1 year ago

Jookia commented 1 year ago

This plugin no-longer works with the Flatpak OBS, instead it gives this error:

12:11:04.676: os_dlopen(/home/jookia/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so->/home/jookia/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so): /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/jookia/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so)

I think OBS is using an older Flatpak SDK that doesn't support this glibc version.

Deuchnord commented 1 year ago

Having a similar issue, but not the same error:

error: os_dlopen(/home/jerome/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so->/home/jerome/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so): libQt5Widgets.so.5: cannot open shared object file: No such file or directory

warning: Module '/home/jerome/.var/app/com.obsproject.Studio/config/obs-studio/plugins/libobs_google_caption_plugin/bin/64bit/libobs_google_caption_plugin.so' not loaded

Running OBS 28.0.1 with Flatpak

Jookia commented 1 year ago

I managed to make a Flatpak add-on for this but I can't test it as I don't have an API key.