sdns does not have any external dependency. However, all the sdns_json_* functions are based on libjansson library. So if you don't need JSON output, you can compile it just by making it. # compile ...