benoitc / dnssd_erlang

Erlang interface to Apple's Bonjour DNS Service Discovery implementation
Apache License 2.0
46 stars 16 forks source link

undefined symbol: DNSServiceBrowse #7

Closed clofresh closed 12 years ago

clofresh commented 12 years ago

Hi,

I'm getting an undefined symbol error when running rebar eunit:

=ERROR REPORT==== 4-Apr-2012::01:14:18 ===
dnssd_drv: Error loading "dnssd_drv": "undefined symbol: DNSServiceBrowse"
  dnssd_drv:565: register_test_...*failed*
::error:function_clause
  in function dnssd_drv:drv_close/1
    called as drv_close({error,{open_error,-10}})
  in call from dnssd_drv:'-register_test_/0-fun-1-'/5

I get a similar error when running dnssd:start(). from a shell.

I'm running this on Linux Mint 12, with avahi-daemon 0.6.30-4ubuntu1 and libavahi-compat-libdnssd-dev 0.6.30-4ubuntu1 installed. Running rebar compile compiles dnssd.o and dnssd_drv.so successfully.

andrewtj commented 12 years ago

A few options changed recently in rebar - are you able to move to a newer release? If not undoing def0c51 should get you up and running.

clofresh commented 12 years ago

Pulling the latest rebar fixes things, thanks!