Page MenuHomeSolus

shairplay depends on avahi-devel
Closed, ResolvedPublic


The shairplay program fails to start, unable to find dnssd:

Initialized server socket(s)
ERROR: Could not initialize dnssd library!
You could try the following resolutions based on your OS:
Windows: Try installing
Debian/Ubuntu: Try installing libavahi-compat-libdnssd-dev package
Exiting HTTP thread

The code seems to be looking for while I have only and a symlink to the same at in /usr/lib/ with avahi installed. As suggested by the error message, installing the avahi-devel package adds a symlink at which gets things going.

shairplay seems to still work if I just manually make the symlink myself, so I'm not sure that avahi-devel is actually a runtime dependency. But I don't really know enough about libraries and such to know what the "right" fix would be for this. (Add another symlink to the avahi package? Just make avahi-devel a dependency of shairplay? Apply a patch to the shairplay code to change the path it tries to load?)

Event Timeline

fourwood created this task.Apr 13 2018, 7:40 PM
JoshStrobl edited projects, added Software; removed Lacks Project.Jul 20 2018, 11:40 AM
JoshStrobl added a subscriber: JoshStrobl.

I'm going to do a safety rebuild of shairplay and see if it resolves the issue.

JoshStrobl changed the task status from Open to In Progress.Jul 20 2018, 11:51 AM
JoshStrobl changed the task status from In Progress to Open.Jul 20 2018, 11:56 AM
JoshStrobl triaged this task as Normal priority.

@fourwood On our next Friday sync, if this issue still persists then let me know and I will just move the .so for avahi-devel into the main package using libsplit: no.

JoshStrobl lowered the priority of this task from Normal to Needs More Info.Jul 29 2018, 7:15 PM

Awaiting response from @fourwood now that sync has occurred.

Thanks, @JoshStrobl . Looks like I'm still seeing the same issue on the updated v148 r2.

JoshStrobl raised the priority of this task from Needs More Info to Normal.Jul 31 2018, 7:29 PM

Alrighty, I'll get the .so moved. Thanks for checking again!