Till Toenshoff created MESOS-1054:
-------------------------------------

             Summary: Java extension build is broken if libsnappy is installed
                 Key: MESOS-1054
                 URL: https://issues.apache.org/jira/browse/MESOS-1054
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 0.19.0
         Environment: OSX 10.9.2, clang 3.3
            Reporter: Till Toenshoff


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)`





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to