Graphlab Installation Issue

177 views
Skip to first unread message

Rajat Raychaudhuri

unread,
Jan 8, 2014, 4:21:08 PM1/8/14
to graph...@googlegroups.com, Piyush Kumar
Hello,

I could not install graphlab on my Ubuntu system for the issue described below. Any help in this regard would be greatly appreciated. I have given all the information that you requested on the "Contact" page.

This was tried after cloning from your git repo with the most recent version.

  1. A detailed description of the problem you are facing:

While installation on Ubuntu I got the following error while doing make in graphlab/release

[ 50%] Built target graphlab
Scanning dependencies of target arbitrary_signal_test
[ 51%] Building CXX object tests/CMakeFiles/arbitrary_signal_test.dir/arbitrary_signal_test.cpp.o
Linking CXX executable arbitrary_signal_test
../src/graphlab/libgraphlab.a(dc_tcp_comm.cpp.o): In function `graphlab::dc_impl::dc_tcp_comm::close()':
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:257: undefined reference to `gl_event_base_loopbreak'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:260: undefined reference to `gl_event_free'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:262: undefined reference to `gl_event_free'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:263: undefined reference to `gl_event_free'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:264: undefined reference to `gl_event_base_free'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:277: undefined reference to `gl_event_base_loopbreak'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:280: undefined reference to `gl_event_free'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:282: undefined reference to `gl_event_base_free'
../src/graphlab/libgraphlab.a(dc_tcp_comm.cpp.o): In function `graphlab::dc_impl::dc_tcp_comm::send_loop(event_base*)':
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:648: undefined reference to `gl_event_base_dispatch'
../src/graphlab/libgraphlab.a(dc_tcp_comm.cpp.o): In function `graphlab::dc_impl::dc_tcp_comm::receive_loop(event_base*)':
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:589: undefined reference to `gl_event_base_dispatch'
../src/graphlab/libgraphlab.a(dc_tcp_comm.cpp.o): In function `graphlab::dc_impl::dc_tcp_comm::construct_events()':
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:186: undefined reference to `gl_event_base_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:192: undefined reference to `gl_event_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:195: undefined reference to `gl_event_add'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:196: undefined reference to `gl_event_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:199: undefined reference to `gl_event_base_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:206: undefined reference to `gl_event_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:212: undefined reference to `gl_event_new'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:217: undefined reference to `gl_event_add'
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:219: undefined reference to `gl_event_add'
../src/graphlab/libgraphlab.a(dc_tcp_comm.cpp.o): In function `graphlab::dc_impl::dc_tcp_comm::trigger_send_timeout(unsigned short, bool)':
/home/rajat/Installations/graphlab/src/graphlab/rpc/dc_tcp_comm.cpp:236: undefined reference to `gl_event_active'
collect2: ld returned 1 exit status
make[2]: *** [tests/arbitrary_signal_test] Error 1
make[1]: *** [tests/CMakeFiles/arbitrary_signal_test.dir/all] Error 2
make: *** [all] Error 2

  1. The OS and OS version you are using.

Ubuntu 12.04

  1. The output of uname -a

Linux james 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

  1. The output of g++ -v and clang++ -v

g++ -v

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

clang++ -v

Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

  1. The contents of graphlabapi/config.log and graphlabapi/configure.deps
files are attached

--

Thanks and Regards,

 

Rajat Raychaudhuri

PhD Student
Department of Computer Science
Florida State University
Tallahassee, Florida

-----------------------------------------------------------------------

Google Voice: 001-(850)-270-8358 (available after 5pm EST)

Homepage: http://myweb.fsu.edu/rr10c/welcome.html

-----------------------------------------------------------------------

config.log
configure.deps

Yucheng Low

unread,
Jan 9, 2014, 11:31:51 AM1/9/14
to graph...@googlegroups.com, Piyush Kumar
Hi,

Seems like the linker is picking up a different libevent than the one I patched.
Can you try the following 

while in the graphlab root directory:
rm -rf deps/event
rm deps/local/lib/*event*

Then run ./configure
and make again.

Yucheng

--
You received this message because you are subscribed to the Google Groups "GraphLab API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graphlabapi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<config.log><configure.deps>

Reply all
Reply to author
Forward
0 new messages