You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Bernardo Gomez Palacio (JIRA)" <ji...@apache.org> on 2013/08/13 01:13:48 UTC

[jira] [Commented] (MESOS-639) Build can break when libsnappy is installed

    [ https://issues.apache.org/jira/browse/MESOS-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737498#comment-13737498 ] 

Bernardo Gomez Palacio commented on MESOS-639:
----------------------------------------------

Confirming that passing LIBS='-lsnappy' is a workaround
(with snappy-1.1.0)

Within the build directory  ( after doing a ./bootstrap && mkdir build && cd build )
{code}
LIBS='-lsnappy' ../configure
make && make check
{code}

No errors were reported.
                
> Build can break when libsnappy is installed
> -------------------------------------------
>
>                 Key: MESOS-639
>                 URL: https://issues.apache.org/jira/browse/MESOS-639
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Charles Reiss
>            Priority: Minor
>
> If libsnappy is installed, 3rdparty/leveldb's build system can detect it and build against it. This later can cause a link error since src/Makefile.am will link in libleveldb.a but not libsnappy. Passing LIBS='-lsnappy' to configure on such systems should be a workaround.
> A fix would be to either force leveldb to not build against libsnappy (in 3rdparty/Makefile.am) or detect when it has (probably in src/Makefile.am).
> [This problem came up on IRC today, but has existed for a while, see, e.g., 
> https://mail-archives.apache.org/mod_mbox/incubator-mesos-dev/201306.mbox/%3C51BB7FEC.4080103@gmail.com%3E ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira