[
https://issues.apache.org/jira/browse/MESOS-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322753#comment-15322753
]
Kevin Klues commented on MESOS-5574:
------------------------------------
I don't think so. None of that has landed yet. The modules use this as well, so
I thought there should already be a dependency on it (at least when building
with module support).
> Missing dependency on libdl
> ---------------------------
>
> Key: MESOS-5574
> URL: https://issues.apache.org/jira/browse/MESOS-5574
> Project: Mesos
> Issue Type: Bug
> Components: build
> Affects Versions: 1.0.0
> Environment: CentOS5, devtoolset-2, gcc version 4.8.2 20140120 (Red
> Hat 4.8.2-15) (GCC)
> Reporter: Ian Downes
>
> {noformat}
> $ make
> ...
> Making all in src
> make[1]: Entering directory `/home/idownes/workspace/mesos/build/src'
> make all-am
> make[2]: Entering directory `/home/idownes/workspace/mesos/build/src'
> /bin/sh ../libtool --tag=CXX --mode=link g++ -pthread -g1 -O0
> -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -o mesos-local
> local/mesos_local-main.o libmesos.la -lz -lsvn_delta-1 -lsvn_subr-1
> -lsasl2 -lcurl -lapr-1 -lz -lrt
> libtool: link: g++ -pthread -g1 -O0 -Wno-unused-local-typedefs -std=c++11
> -Wl,--as-needed -o .libs/mesos-local local/mesos_local-main.o
> ./.libs/libmesos.so /usr/lib64/libsvn_delta-1.so /usr/lib64/libsvn_subr-1.so
> /usr/lib64/libaprutil-1.so -lcrypt -lexpat -ldb-4.7 -lsasl2 -lcurl
> /usr/lib64/libapr-1.so -lpthread -lz -lrt -pthread -Wl,-rpath -Wl,/usr/lib64
> ./.libs/libmesos.so: error: undefined reference to 'dlopen'
> ./.libs/libmesos.so: error: undefined reference to 'dlerror'
> ./.libs/libmesos.so: error: undefined reference to 'dlclose'
> ./.libs/libmesos.so: error: undefined reference to 'dlsym'
> collect2: error: ld returned 1 exit status
> make[2]: *** [mesos-local] Error 1
> make[2]: Leaving directory `/home/idownes/workspace/mesos/build/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/idownes/workspace/mesos/build/src'
> make: *** [all-recursive] Error 1
> {noformat}
> Builds correctly when libdl inclusion is forced:
> {noformat}
> $ LDFLAGS='-ldl' ../configure
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)