Github user superbstreak commented on the issue:
    **Mac Environment:**
    OS: OSX 10.8.5
    Zookeeper: 3.4.6 (patched)
    boost: 1.57.0
    protobuf: 2.5.0rc1
    **For libc++:**
    - Add: set(CMAKE_CXX_FLAGS "-stdlib=libc++") before 
    - Change to set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lrt -lpthread")
    - Change to set(CMAKE_CXX_FLAGS "-fPIC -stdlib=libc++")
    **And the minimal code changes required for zookeeper to work:**
    #ifndef htonll   <--------------------- Add this
    int64_t htonll(int64_t v);
    #endif <-------------------------------- Add this

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to