Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure, can't find a function in snappy? #16

Open
ekg opened this issue Nov 14, 2014 · 1 comment
Open

build failure, can't find a function in snappy? #16

ekg opened this issue Nov 14, 2014 · 1 comment

Comments

@ekg
Copy link

ekg commented Nov 14, 2014

The build seems to be failing because it can't find functions in snappy:

CXX      db/db_bench.o
CXXLD    db_bench
/usr/bin/ld: db/db_bench.o: undefined reference to symbol '_ZN6snappy11RawCompressEPKcmPcPm'
/usr/local/lib/libsnappy.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [db_bench] Error 1
make: *** [all] Error 2

... but snappy is installed, and is the most-recent version from git:

checking for snappy_compress in -lsnappy... yes
checking snappy.h usability... yes
checking snappy.h presence... yes
checking for snappy.h... yes

The same problem happened when I used a recent snappy ubuntu package.

What am I missing?

@lemo
Copy link

lemo commented Jan 15, 2015

maybe #15 solves your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants