Skip to content

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

@dustinbolton

Description

@dustinbolton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions