agnat/node_mdns

Cannot compile/install on Raspberry Pi OS due to missing dns_sd.h

Opened this issue · 0 comments

When trying to install the mdns package with npm on Raspberry Pi OS (32bit on a Raspberry Pi 3b) I get the following error:

npm ERR! ../src/mdns.hpp:32:10: fatal error: dns_sd.h: No such file or directory

Older versions of Raspian could install the package "libavahi-compat-libdnssd-dev" to fix this but this no longer works.

sudo apt-get install libavahi-compat-libdnssd-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libavahi-compat-libdnssd-dev