Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1054

Java extension build is broken if libsnappy is installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • build
    • OSX 10.9.2, clang 3.3

    Description

      When libsnappy is preinstalled, leveldb automatically makes use of it. As we statically link leveldb into mesos but not libsnappy, undefined symbols pop up.

      This is very similar to MESOS-1010

      `[ RUN ] ExamplesTest.JavaLog
      Using temporary directory '/tmp/ExamplesTest_JavaLog_e34Dmv'
      Mar 04, 2014 3:51:42 AM TestLog main
      INFO: Starting a local ZooKeeper server
      log4j:WARN No appenders could be found for logger (org.apache.zookeeper.server.ZooKeeperServer).
      log4j:WARN Please initialize the log4j system properly.
      Mar 04, 2014 3:51:42 AM TestLog main
      INFO: Initializing log /var/folders/_t/rdp354gx7j5fjww270kbk6_r0000gn/T/mesos-XXXXXX.QnxT5O4R/log1 with /Users/till/Development/mesos-wip/build/src/mesos-log
      dyld: lazy symbol binding failed: Symbol not found: __ZN6snappy19MaxCompressedLengthEm
      Referenced from: /Users/till/Development/mesos-wip/build/src/.libs/libmesos-0.19.0.dylib
      Expected in: flat namespace

      dyld: Symbol not found: __ZN6snappy19MaxCompressedLengthEm
      Referenced from: /Users/till/Development/mesos-wip/build/src/.libs/libmesos-0.19.0.dylib
      Expected in: flat namespace

      ../../src/tests/script.cpp:81: Failure
      Failed
      java_log_test.sh terminated with signal 'Trace/BPT trap: 5'
      [ FAILED ] ExamplesTest.JavaLog (5266 ms)`

      Attachments

        Activity

          People

            Unassigned Unassigned
            tillt Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: