Github user hanm commented on the issue:
https://github.com/apache/zookeeper/pull/362
Haven't tried this locally, but Jenkins complains with this:
` [exec] BUILD FAILED
[exec]
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1305:
The following error occurred while executing this line:
[exec]
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1315:
exec returned: 2
[exec]
[exec] Total time: 11 minutes 13 seconds
[exec] [exec] libtool: link: g++ -DUSE_STATIC_LIB
-DZKSERVER_CMD=\"/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/src/c/tests/zkServer.sh\"
-DZOO_IPV6_ENABLED -g -O2 -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,free -Wl,--wrap
-Wl,flush_send_queue -Wl,--wrap -Wl,get_xid -Wl,--wrap -Wl,deliverWatchers
-Wl,--wrap -Wl,activateWatcher -Wl,--wrap -Wl,realloc -o zktest-st
zktest_st-TestDriver.o zktest_st-LibCMocks.o zktest_st-LibCSymTable.o
zktest_st-MocksBase.o zktest_st-ZKMocks.o zktest_st-Util.o
zktest_st-ThreadingUtil.o zktest_st-TestZookeeperInit.o
zktest_st-TestZookeeperClose.o zktest_st-TestReconfig.o
zktest_st-TestReconfigServer.o zktest_st-TestClientRetry.o
zktest_st-TestOperations.o zktest_st-TestMulti.o zktest_st-TestWatchers.o
zktest_st-TestClient.o zktest_st-ZooKeeperQuorumServer.o
zktest_st-TestReadOnlyClient.o ./.libs/libzkst.a -lm -lrt
./.libs/libhashtable.a -lcppunit
[exec] [exec] make[1]: Leaving directory
`/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build/test/test-cppunit'
[exec] [exec] /usr/bin/ld: zktest_st-LibCSymTable.o: undefined
reference to symbol 'dlsym@@GLIBC_2.2.5'
[exec] [exec] //lib/x86_64-linux-gnu/libdl.so.2: error adding
symbols: DSO missing from command line
[exec] [exec] collect2: error: ld returned 1 exit status
[exec] [exec] make[1]: *** [zktest-st] Error 1
[exec] [exec] make: *** [check-am] Error 2`
Please investigate.
---