You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2023. It is now read-only.
On Ubuntu 18.04 LTS with OBS Studio in the snap" package.
Compilation of this plugin succeeds without incident, but neither cmake . -DSYSTEM_INSTALL=1 nor cmake . -DSYSTEM_INSTALL=0 will produce a workign configuration.
First, the non-system installation places the plugin binary in ~/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so -- which is not where the OBS snap binary looks. However, if you copy the plugin binary to the correct spot for the OBS snap to see it, /snap/obs-studio/NNNN/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so (where NNNN is some snap revision/hash or something), then the plugin still does not load. The log reports this as a failure to find the gphoto library:
os_dlopen(/home/username/snap/obs-studio/NNNN/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so->/home/username/snap/obs-studio/NNNN/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so): libgphoto2.so.6: cannot open shared object file: No such file or directory
Module '/home/username/snap/obs-studio/NNNN/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so' not loaded
The system-install option just puts the plugin binary in a location that the snap doesn't look.
It's possible that there's some way to adjust the snap sandbox so that it can find the libgphoto2 library, but I am not clear if that would be the preferred way to work around the problem (much less do I actually know what the change would be).
The text was updated successfully, but these errors were encountered:
On Ubuntu 18.04 LTS with OBS Studio in the snap" package.
Compilation of this plugin succeeds without incident, but neither
cmake . -DSYSTEM_INSTALL=1
norcmake . -DSYSTEM_INSTALL=0
will produce a workign configuration.First, the non-system installation places the plugin binary in
~/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so
-- which is not where the OBS snap binary looks. However, if you copy the plugin binary to the correct spot for the OBS snap to see it,/snap/obs-studio/NNNN/.config/obs-studio/plugins/obs-gphoto/bin/64bit/obs-gphoto.so
(whereNNNN
is some snap revision/hash or something), then the plugin still does not load. The log reports this as a failure to find the gphoto library:The system-install option just puts the plugin binary in a location that the snap doesn't look.
It's possible that there's some way to adjust the snap sandbox so that it can find the libgphoto2 library, but I am not clear if that would be the preferred way to work around the problem (much less do I actually know what the change would be).
The text was updated successfully, but these errors were encountered: