[ https://issues.apache.org/jira/browse/GEODE-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833528#comment-15833528 ]
ASF subversion and git services commented on GEODE-2319: -------------------------------------------------------- Commit e92cb631cb0897c73468b54564340c51002ba697 in geode's branch refs/heads/next-gen-native-client-software-grant from [~adongre] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=e92cb63 ] GEODE-2319: In order to fix the build on Ubuntu, remove linking of libz from libcppcache and moved it to libxml2 in dependency section. This closes #344 > Native Client Build fails on Ubuntu 16 > -------------------------------------- > > Key: GEODE-2319 > URL: https://issues.apache.org/jira/browse/GEODE-2319 > Project: Geode > Issue Type: Bug > Components: native client > Reporter: Avinash Dongre > Assignee: Avinash Dongre > > Error get on Ubuntu is : > {code:java} > [ 49%] Building CXX object > cppcache/src/CMakeFiles/gfcppcache.dir/PdxLocalWriter.cpp.o > [ 49%] Building CXX object > cppcache/src/CMakeFiles/gfcppcache.dir/CacheStatistics.cpp.o > [ 49%] Linking CXX shared library libgfcppcache.so > ../../dependencies/libxml2/libxml2-extern-prefix/lib/libxml2.a(xmlIO.o): In > function `xmlGzfileOpen_real': > xmlIO.c:(.text+0xf9d): undefined reference to `gzdopen' > xmlIO.c:(.text+0x1055): undefined reference to `gzopen64' > ../../dependencies/libxml2/libxml2-extern-prefix/lib/libxml2.a(xmlIO.o): In > function `xmlGzfileOpenW': > xmlIO.c:(.text+0x1158): undefined reference to `gzdopen' > xmlIO.c:(.text+0x11f9): undefined reference to `gzopen64' > ../../dependencies/libxml2/libxml2-extern-prefix/lib/libxml2.a(xmlIO.o): In > function `xmlGzfileRead': > xmlIO.c:(.text+0x1240): undefined reference to `gzread' > ../../dependencies/libxml2/libxml2-extern-prefix/lib/libxml2.a(xmlIO.o): In > function `xmlGzfileWrite': > ... > collect2: error: ld returned 1 exit status > cppcache/src/CMakeFiles/gfcppcache.dir/build.make:6212: recipe for target > 'cppcache/src/libgfcppcache.so' failed > make[2]: *** [cppcache/src/libgfcppcache.so] Error 1 > CMakeFiles/Makefile2:936: recipe for target > 'cppcache/src/CMakeFiles/gfcppcache.dir/all' failed > make[1]: *** [cppcache/src/CMakeFiles/gfcppcache.dir/all] Error 2 > Makefile:149: recipe for target 'all' failed > make: *** [all] Error 2 > {code} > More Details are here http://markmail.org/message/f7pczufeelgxz6fx -- This message was sent by Atlassian JIRA (v6.3.4#6332)