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: _ZTIN7rocksdb10ComparatorE #57

Open
azhuoinfogs opened this issue Sep 12, 2017 · 4 comments
Open

undefined symbol: _ZTIN7rocksdb10ComparatorE #57

azhuoinfogs opened this issue Sep 12, 2017 · 4 comments

Comments

@azhuoinfogs
Copy link

python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import rocksdb
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/rocksdb/init.py", line 1, in
from ._rocksdb import *
ImportError: /usr/local/lib/python2.7/dist-packages/rocksdb/_rocksdb.so: undefined symbol: _ZTIN7rocksdb10ComparatorE

@baraiyaraj
Copy link

Having same issue. Please provide some solution.

@baraiyaraj
Copy link

I was able to solve the above problem. Please delete the copy of your python rocks-db and try the steps below:
https://github.com/rajbaraiyaa/python-rocksdb-/blob/master/install_steps

I was successfully able to install it with the steps mentioned in the link.

@richael02
Copy link

richael02 commented Nov 20, 2017

@azhuoinfogs I met this problem too. Have you figured out the solution ?
@rajbaraiyaa I install pyrocksdb by the same steps as you, but there still exists the ImportError.

@ali8zake
Copy link

ali8zake commented Dec 8, 2017

hello
a)
i use the install_step, faild by clock_time not fund ,but i export LD_PRELOAD, aslo LDFLAGS = -lr ,aslo failed
b) git clone master ,make share_lib,can make ok
then pip install
import failed
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/rocksdb/init.py", line 1, in
from ._rocksdb import *
ImportError: /usr/local/lib/python2.7/site-packages/rocksdb/_rocksdb.so: undefined symbol: _ZTIN7rocksdb24AssociativeMergeOperatorE

thanks

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

4 participants