Skip to content

Instantly share code, notes, and snippets.

@jaylett
Created September 27, 2013 15:57
Show Gist options
  • Save jaylett/6730838 to your computer and use it in GitHub Desktop.
Save jaylett/6730838 to your computer and use it in GitHub Desktop.
restpose build error
make[2]: Entering directory `/media/fort/7e6babdb-eb0b-4e79-b97e-cab980e57e92/wikipedia/restpose/restpose'
/bin/bash ./libtool --tag=CXX --mode=link g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -Wlogical-op -Wmissing-declarations -g -O2 -o restpose src/restpose.o libmongoimporter.a libhttpserver.a librest.a libfeatures.a libserver.a libjsonxapian.a libjsonmanip.a libngramcat.a libcjktokenizer.a liblogger.a libdbgroup.a libutils.a libpostingsources.a libmatchspies.a libgeospatial.a libxapiancommon.a libmongocdriver.a libcli.a libjsoncpp.a libs/libmicrohttpd/src/daemon/libmicrohttpd.la -lxapian
libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -Wlogical-op -Wmissing-declarations -g -O2 -o .libs/restpose src/restpose.o libmongoimporter.a libhttpserver.a librest.a libfeatures.a libserver.a libjsonxapian.a libjsonmanip.a libngramcat.a libcjktokenizer.a liblogger.a libdbgroup.a libutils.a libpostingsources.a libmatchspies.a libgeospatial.a libxapiancommon.a libmongocdriver.a libcli.a libjsoncpp.a libs/libmicrohttpd/src/daemon/.libs/libmicrohttpd.so /usr/lib/libxapian.so -Wl,-rpath -Wl,/data/wikipedia/restpose/install/lib
/usr/bin/ld: libutils.a(compression.o): undefined reference to symbol 'inflateInit2_'
/usr/bin/ld: note: 'inflateInit2_' is defined in DSO /lib/x86_64-linux-gnu/libz.so.1 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libz.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment