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

RocksDB build is broken #208

Closed
adamstruck opened this issue Jun 17, 2019 · 2 comments
Closed

RocksDB build is broken #208

adamstruck opened this issue Jun 17, 2019 · 2 comments

Comments

@adamstruck
Copy link
Contributor

No description provided.

@kellrott
Copy link
Member

Error seems to be in the C library compile

$ make with-rocksdb
go: finding github.com/tecbot/gorocksdb latest
# github.com/tecbot/gorocksdb
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/librocksdb.a(env_posix.o): In function `~PosixDynamicLibrary':
/tmp/rocksdb/env/env_posix.cc:138: undefined reference to `dlclose'
/tmp/rocksdb/env/env_posix.cc:138: undefined reference to `dlclose'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/librocksdb.a(env_posix.o): In function `LoadSymbol':
/tmp/rocksdb/env/env_posix.cc:142: undefined reference to `dlerror'
/tmp/rocksdb/env/env_posix.cc:143: undefined reference to `dlsym'
/tmp/rocksdb/env/env_posix.cc:147: undefined reference to `dlerror'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/librocksdb.a(env_posix.o): In function `LoadLibrary':
/tmp/rocksdb/env/env_posix.cc:788: undefined reference to `dlopen'
/tmp/rocksdb/env/env_posix.cc:826: undefined reference to `dlerror'
/tmp/rocksdb/env/env_posix.cc:805: undefined reference to `dlopen'
/tmp/rocksdb/env/env_posix.cc:816: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
make: *** [with-rocksdb] Error 2
The command "make with-rocksdb" exited with 2.

Maybe adding -ldl to linker options might help ( https://stackoverflow.com/questions/956640/linux-c-error-undefined-reference-to-dlopen )

@kellrott
Copy link
Member

RocksDB build removed in bf2c05f

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