I was able to successfully build avahi per the instructions, but the next step in the quick start of running "ant test-browse" results in a symbol lookup error, and I'm confused about how to proceed with troubleshooting this problem. I did find the following post that showed a similar problem, but wasn't able to make any progress (it seems the thread was never publicly resolved anyway). Here is the error output that I see:
myUser@ubuntu:~/Downloads/avahi4j-0.1$ ant test-browse
Buildfile: /home/myUser/Downloads/avahi4j-0.1/build.xml
init:
compile:
[javac] /home/myUser/Downloads/avahi4j-0.1/build.xml:109: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
jar:
jnilib:
[exec] make: Entering directory `/home/myUser/Downloads/avahi4j-0.1/src'
[exec] make: Nothing to be done for `all'.
[exec] make: Leaving directory `/home/myUser/Downloads/avahi4j-0.1/src'
test-browse:
[java] Avahi4J v0.1-0
[java] /usr/lib/jvm/java-7-oracle/jre/bin/java: symbol lookup error: /home/myUser/Downloads/avahi4j-0.1/libavahi4j.so: undefined symbol: avahi_malloc
BUILD FAILED
/home/myUser/Downloads/avahi4j-0.1/build.xml:185: Java returned: 127
Total time: 0 seconds