mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Quarfot Nielsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2881) Linker error when building Mesos with unbundled dependencies
Date Wed, 17 Jun 2015 18:17:01 GMT

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

Niklas Quarfot Nielsen commented on MESOS-2881:
-----------------------------------------------

https://reviews.apache.org/r/35574/

> Linker error when building Mesos with unbundled dependencies
> ------------------------------------------------------------
>
>                 Key: MESOS-2881
>                 URL: https://issues.apache.org/jira/browse/MESOS-2881
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Niklas Quarfot Nielsen
>
> When configuring mesos with unbundled dependencies (for use with Mesos Modules), the
build breaks due to a link error for the mesos-docker-executor target.
> {code}
> bin/bash ../libtool  --tag=CXX   --mode=link g++ -pthread -O2 -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -std=c++11 -Wl,--as-needed -L/usr/lib -L/usr/local/lib -o mesos-docker-executor
docker/mesos_docker_executor-executor.o libmesos.la -lsasl2 -lsvn_delta-1 -lsvn_subr-1 -lapr-1
-lcurl -lz  -lrt
> libtool: link: g++ -pthread -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11
-Wl,--as-needed -o .libs/mesos-docker-executor docker/mesos_docker_executor-executor.o  -L/usr/lib
-L/usr/local/lib ./.libs/libmesos.so -lsasl2 /usr/lib/x86_64-linux-gnu/libsvn_delta-1.so /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so
/usr/lib/x86_64-linux-gnu/libapr-1.so /usr/lib/x86_64-linux-gnu/libcurl-nss.so -lz -lrt -pthread
> /usr/bin/ld: docker/mesos_docker_executor-executor.o: undefined reference to symbol '_ZN6google4base21CheckOpMessageBuilderD1Ev'
> //usr/lib/x86_64-linux-gnu/libglog.so.0: error adding symbols: DSO missing from command
line
> collect2: error: ld returned 1 exit status
> make[2]: *** [mesos-docker-executor] Error 1
> make[2]: Leaving directory `/home/niklas/mesos/build/src'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/home/niklas/mesos/build/src'
> make: *** [check-recursive] Error 1
> {code}
> {code}
> -lglog -lprotobuf
> {code}
> are missing from the above and works fine, if done manually:
> {code}
> $ /bin/bash ../libtool  --tag=CXX   --mode=link g++ -pthread -O2 -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -std=c++11 -Wl,--as-needed -L/usr/lib -L/usr/local/lib -o mesos-docker-executor
docker/mesos_docker_executor-executor.o libmesos.la -lsasl2 -lsvn_delta-1 -lsvn_subr-1 -lapr-1
-lcurl -lz  -lrt -lglog -lprotobuf
> libtool: link: g++ -pthread -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11
-Wl,--as-needed -o .libs/mesos-docker-executor docker/mesos_docker_executor-executor.o  -L/usr/lib
-L/usr/local/lib ./.libs/libmesos.so -lsasl2 /usr/lib/x86_64-linux-gnu/libsvn_delta-1.so /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so
/usr/lib/x86_64-linux-gnu/libapr-1.so /usr/lib/x86_64-linux-gnu/libcurl-nss.so -lz -lrt -lglog
-lprotobuf -pthread
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message