mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #198] No package 'avahi-compat-libdns_sd' found #162
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yesi on GitHub (Dec 14, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/198
Operating Systems
Gentoo
Barrier Version
2.1.2
Steps to reproduce bug
Install from emerge from pixlra
https://gpo.zugaina.org/x11-misc/barrier
Without qt5 and libressl support :
[ebuild N ~] x11-misc/barrier-2.1.2::pixlra USE="-libressl -qt5"
log.txt
@yesi commented on GitHub (Dec 14, 2018):
When compiling using +qt5 flag, it is alright.
But when -qt5, it is not.
@MC-Mihai commented on GitHub (Dec 16, 2018):
Do you have libavahi-compat-libdnssd-dev installed? Important to be the dev version.
@yesi commented on GitHub (Dec 17, 2018):
I can't find such libraries : avahi, compat, libdnssd...
@AdrianKoshka commented on GitHub (Dec 17, 2018):
It's one library, not 3 seperate ones.
@MC-Mihai commented on GitHub (Dec 17, 2018):
You have to install the corresponding library libavahi-compat-libdnssd-dev for your Linux distribution. If you can't find one named like that it might be under another name.
@AdrianKoshka commented on GitHub (Dec 17, 2018):
You realize that
barrier(the GUI executable) uses QT5, right? (Though, now that I think of it, I think you can compile barrier w/o QT and it should only build the CLI components)@yesi commented on GitHub (Dec 18, 2018):
Yes.
If configured, i won't need the GUI and its dependances packages.
It is the same as the **libavahi-compat-libdnssd-dev ** librairy : it is a avahi library compatible with "Apple Bonjour", right ?
I don't use/have Apple product.
@MC-Mihai commented on GitHub (Dec 18, 2018):
In order to compile it you need the following libraries or their equivalent for your linux distribution:
xorg-dev
g++
libcurl4-openssl-dev
libavahi-compat-libdnssd-dev
libssl-dev
libx11-dev
libqt4-dev
qtbase5-dev
In the file you attached, you are missing the "libavahi-compat-libdnssd-dev" library or its equivalent for your linux distribution, which is why I mentioned it. Make sure you have all of them if you want to compile it from source.
@AdrianKoshka commented on GitHub (Dec 18, 2018):
Yep, avahi is compatible with Bonjour/Zeroconf. It's (optionally) used so that clients can automatically find + connect to servers. So it's not related to whether you have any apple products or not...
And as @Mihai-MCW said, you need the avahi compatibility library to compile barrier, there currently isn't an option to compile without avahi support.
@bilalix commented on GitHub (May 16, 2019):
I had the same problem, but sloved it using this command
I'm runing Fedora 28.
I hope this helps.
@AdrianKoshka commented on GitHub (Jul 17, 2019):
I know this issue has been long closed, but apparently the solution to get barrier to build on gentoo is to emerge avahi like this:
USE="mdnsresponder-compat" emerge net-dns/avahi@alexbobp commented on GitHub (Oct 5, 2019):
Adrian saved my butt, but I want to add one note, the better thing to do is add the following to
/etc/portage/package.use:net-dns/avahi mdnsresponder-compatand then
emerge net-dns/avahi. this way you don't lose it if you update.@viewdeckcloud commented on GitHub (Jun 24, 2020):
Sorry for a newbie question, but does anyone have the answer / approach for building on Ubuntu18.04 ?
`-- Checking for module 'avahi-compat-libdns_sd'
-- No package 'avahi-compat-libdns_sd' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
CMakeLists.txt:177 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/gary/Development/barrier/build/CMakeFiles/CMakeOutput.log".
See also "/home/gary/Development/barrier/build/CMakeFiles/CMakeError.log".
`
Not obvious which package might be missing...
$ sudo apt install avahi-compat-libdns_sd avahi-compat-libdns_sd-devel Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package avahi-compat-libdns_sd E: Unable to locate package avahi-compat-libdns_sd-develThank you in advance
(Keen to try out the Linux Freezing fix ;-) )
@shymega commented on GitHub (Jun 24, 2020):
Try the
libavahi-compat-libdnssd-devpackage.@viewdeckcloud commented on GitHub (Jun 24, 2020):
Thanks for the swift response !
but... already installed ...
libavahi-compat-libdnssd-dev is already the newest version (0.7-3.1ubuntu1.2).
@viewdeckcloud commented on GitHub (Jun 25, 2020):
So, after looking and looking, To build on my Ubuntu 18.04LTS, I added a
export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH"
At the beginning of the Run...
Now seems to build perfectly.. Thank you !
@Roshan2077 commented on GitHub (Jan 22, 2025):
sorry in advance incase i missed something silly
i am having the same issue : E: Unable to locate package avahi-compat-libdns_sd
while running : sudo apt install avahi-compat-libdns_sd
libavahi-compat-libdnssd-dev installed just fine
edit: it works for "sudo apt-get install libavahi-compat-libdnssd-dev"
@nbolton commented on GitHub (Jan 23, 2025):
Please try Deskflow or Input Leap as Barrier is no longer in development.
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
AFAIK, Input Leap still uses Bonjour/Avahii but we removed that entirely in Deskflow.