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

Undefined symbol in librt.so #43

Open
adsharma opened this issue May 1, 2016 · 0 comments
Open

Undefined symbol in librt.so #43

adsharma opened this issue May 1, 2016 · 0 comments

Comments

@adsharma
Copy link

adsharma commented May 1, 2016

import rocksdb
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pyrocks_test/lib/python2.6/site-packages/rocksdb/init.py", line 1, in
from ._rocksdb import *
ImportError: /usr/lib/librocksdb.so: undefined symbol: clock_gettime

I think this will go away if you add "rt" as a library in setup.py

I was testing with a rocksdb rpm generated from trunk after this diff:
adsharma/rocksdb@6a4b16b

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

1 participant