Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15200


Change subject: [util] link kudu_util_compression into some tests
......................................................................

[util] link kudu_util_compression into some tests

With libcurl linked into kudu_curl_util library, the standard linker
on CentOS6 started outputting errors like

  devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld:
     
thirdparty/installed/uninstrumented/lib/libcurl.a(libcurl_la-content_encoding.o):
         undefined reference to symbol 'inflateInit2_'
  //lib64/libz.so.1: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status

while linking curl_util-test and instance_detector-test binaries.

This patch addresses the issue, adding kudu_util_compression into the
list of linked in libraries for those binaries.  Surprisingly, adding
just zlib was not enough, but I decided not to fuss around that.

Change-Id: I76ed772845a7e7a00b0ee023dfac51595af383ca
---
M src/kudu/util/CMakeLists.txt
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/15200/1
--
To view, visit http://gerrit.cloudera.org:8080/15200
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I76ed772845a7e7a00b0ee023dfac51595af383ca
Gerrit-Change-Number: 15200
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to