impala-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu feng <>
Subject Re: Compile error in Redhat 7.x
Date Wed, 30 Aug 2017 06:03:58 GMT
It is weird, I can not find /usr/lib/x86_64-linux-gnu/ in RHEL 6.X or 7.x,
and It is obvious that we need newer GLIBC version and we only have glibc
2.12 on RHEL 6.x

hzfengyu@hadoop1107:~/source/impala-kudu$ ldd --version
ldd (GNU libc) 2.12
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
Written by Roland McGrath and Ulrich Drepper.

I recompile it in RHEL 7.x and which have libc 2.17 and get the error :

-- Setup toolchain link flags
-- The CXX compiler identification is GNU 4.9.2
-- Check for working CXX compiler:
-- Check for working CXX compiler:
/home/impala/source/impala-kudu/toolchain/gcc-4.9.2/bin/g++ -- broken
CMake Error at
  The C++ compiler
  "/home/impala/source/impala-kudu/toolchain/gcc-4.9.2/bin/g++" is not able
  to compile a simple test program.

  It fails with the following output:

   Change Dir: /home/impala/source/impala-kudu/CMakeFiles/CMakeTmp

  Run Build Command:"/usr/bin/gmake" "cmTryCompileExec4017731048/fast"

  /usr/bin/gmake -f CMakeFiles/cmTryCompileExec4017731048.dir/build.make

  gmake[1]: Entering directory

  /home/impala/source/impala-kudu/toolchain/cmake-3.2.3-p1/bin/cmake -E
  /home/impala/source/impala-kudu/CMakeFiles/CMakeTmp/CMakeFiles 1

  Building CXX object

  /home/impala/source/impala-kudu/toolchain/gcc-4.9.2/bin/g++ -o
  CMakeFiles/cmTryCompileExec4017731048.dir/testCXXCompiler.cxx.o -c

  Linking CXX executable cmTryCompileExec4017731048

  /home/impala/source/impala-kudu/toolchain/cmake-3.2.3-p1/bin/cmake -E
  cmake_link_script CMakeFiles/cmTryCompileExec4017731048.dir/link.txt

  CMakeFiles/cmTryCompileExec4017731048.dir/testCXXCompiler.cxx.o -o
  cmTryCompileExec4017731048 -rdynamic

  gmake[1]: Leaving directory

  undefined reference to `__cxa_thread_atexit_impl@GLIBC_2.18'

  collect2: error: ld returned 1 exit status

  gmake[1]: *** [cmTryCompileExec4017731048] Error 1

  gmake: *** [cmTryCompileExec4017731048/fast] Error 2

However, my finally goal it build it and run impala cluster in REHL 6.5,
Please help it someone have this experience´╝î Thanks very much.

2017-08-30 12:06 GMT+08:00 Tim Armstrong <>:

> Impala definitely should build and run on RHEL6.x. We do most of our
> testing on CentOS 6.
> I'm not sure if this will help, but when building on Ubuntu we generally
> need to set LD_LIBRARY_PATH to work around this problem
> export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
> On Tue, Aug 29, 2017 at 8:15 PM, yu feng <> wrote:
>> Hi, I try to compile impala in Red Hat Enterprise Linux Server release 6.5
>> (Santiago), and I get thje error :
>> cmake: /lib64/ version `GLIBC_2.14' not found (required by
>> /home/hzfengyu/source/impala-kudu/toolchain/gcc-4.9.2/lib64/
>> cmake: /lib64/ version `GLIBC_2.18' not found (required by
>> /home/hzfengyu/source/impala-kudu/toolchain/gcc-4.9.2/lib64/
>> cmake: /lib64/ version `GLIBC_2.17' not found (required by
>> /home/hzfengyu/source/impala-kudu/toolchain/gcc-4.9.2/lib64/
>> cmake: /lib64/ version `GLIBC_2.14' not found (required by
>> /home/hzfengyu/source/impala-kudu/toolchain/gcc-4.9.2/lib64/
>> Error in /home/hzfengyu/source/impala-kudu/bin/ at line
>> 125:
>> cmake . ${CMAKE_ARGS[@]}
>> Error in at line 319: "$IMPALA_HOME/bin/"
>> change GLIBC have a great influence, So do I have any other way finish it.
>> I just want to compile and run impala cluster beyond Red Hat Enterprise
>> Linux Server release 6.5 .
>> Thanks a lot.

View raw message