It might be useful to run the following: cd $IMPALA_HOME rm CMakeCache.txt cmake .
This will print the locations of all the linked libraries. For instance, I get: -- GLog include dir: /opt/Impala-Toolchain/glog-0.3.2-p1/include You can use this to verify which glog you're linking against. On Wed, Mar 30, 2016 at 3:33 PM, Tim Armstrong <[email protected]> wrote: > It looks like you are picking up your system's version of glog rather than > one of the versions distributed with Impala. > > I'm not sure why it would be doing this, but I'd suggest doing a full > clean and build first to see if that resolves it. > > If you are doing a toolchain build, it should be linking against the > toolchain glog, or if you're not it should be linking against the one in > thirdparty/. > > > On Wed, Mar 30, 2016 at 3:16 PM, Randy Hammon <[email protected]> wrote: > >> Hi all, >> rebased my local repository and got the following build errors. >> >> Haven't changed anything on ubuntu 14.04.3 vmware image. >> googling suggests maybe something related to missing dependency. >> Thanks >> Randy >> >> [100%] Building CXX object >> be/src/service/CMakeFiles/impalad.dir/daemon-main.cc.o >> Linking CXX executable ../../build/debug/service/impalad >> ../../../toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o): In function >> `ldap_int_poll': >> os-ip.c:(.text+0x2a6): warning: `sys_errlist' is deprecated; use >> `strerror' or `strerror_r' instead >> os-ip.c:(.text+0x29a): warning: `sys_nerr' is deprecated; use `strerror' >> or `strerror_r' instead >> ../../build/debug/common/libCommon.a(logging.cc.o): In function >> `impala::InitGoogleLoggingSafe(char const*)': >> /home/osboxes/impala/be/src/common/logging.cc:101: undefined reference to >> `google::InstallLogMessageListenerFunction(void (*)(std::string*, bool*))' >> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function >> `google::GetStackTrace(void**, int, int)': >> (.text+0x7b1): undefined reference to `_Ux86_64_getcontext' >> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function >> `google::GetStackTrace(void**, int, int)': >> (.text+0x7ca): undefined reference to `_ULx86_64_init_local' >> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function >> `google::GetStackTrace(void**, int, int)': >> (.text+0x823): undefined reference to `_ULx86_64_get_reg' >> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function >> `google::GetStackTrace(void**, int, int)': >> (.text+0x882): undefined reference to `_ULx86_64_step' >> collect2: error: ld returned 1 exit status >> make[3]: *** [be/build/debug/service/impalad] Error 1 >> make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2 >> make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2 >> make: *** [impalad] Error 2 >> Error in /home/osboxes/impala/bin/make_impala.sh at line 123: make >> -j${IMPALA_BUILD_THREADS:-4} impalad >> Error in ./buildall.sh at line 269: $IMPALA_HOME/bin/make_impala.sh >> ${MAKE_IMPALA_ARGS} >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Impala Dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > > -- > You received this message because you are subscribed to the Google Groups > "Impala Dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. >
