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

Missing libdns_sd.so.1 #3

Open
KirillChubarov opened this issue Oct 5, 2022 · 7 comments
Open

Missing libdns_sd.so.1 #3

KirillChubarov opened this issue Oct 5, 2022 · 7 comments

Comments

@KirillChubarov
Copy link

OBS cant load plugin. Error: libdns_sd.so.1: cannot open shared object file: No such file or directory.
OS Ubuntu 22.04.1
OBS 27.1.3-modified (snap)

@mika314
Copy link
Owner

mika314 commented Oct 5, 2022

can you try to install libavahi-compat-libdnssd1

sudo apt install libavahi-compat-libdnssd1

I might miss it from the dependency list.

@mika314
Copy link
Owner

mika314 commented Oct 5, 2022

Actually, looking at my instructions, the dependency is listed. Did you run the following line?

sudo apt-get install -y clang pkg-config libavcodec-dev libavformat-dev libavutil-dev libswresample-dev git libobs-dev libavahi-compat-libdnssd-dev libplist-dev libfdk-aac-dev

@KirillChubarov
Copy link
Author

Yes, i installed all dependencies from your instruction. Also try to install libavahi-compat-libdnssd1. It says already installed. Still have no luck, same error from OBS.

@KirillChubarov
Copy link
Author

And i have libdns_sd.so.1 in my system:

whereis libdns_sd.so.1
libdns_sd.so.1: /usr/lib/x86_64-linux-gnu/libdns_sd.so.1

As i understand snap version of OBS cant use "normal" shared library located at /usr/lib/.... Shared libraries for snap apps must be located somewhere at /snap/core.... Looking for way to install shared library for snap apps.

@mika314
Copy link
Owner

mika314 commented Oct 5, 2022

Thank you for digging in.

This is why I am not happy with snap and flatpack: permission issues, sandboxing which suppose to "fix" dependency hell.

@KirillChubarov
Copy link
Author

Can i build this plugin to static .so? To avoid using external system libraries.

@mika314
Copy link
Owner

mika314 commented Oct 10, 2022

The requirement for libdns_sd is coming from UxPlay tool (https://github.com/FDH2/UxPlay) you may ask them.

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

2 participants