-
Notifications
You must be signed in to change notification settings - Fork 76
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
Symbol not found: __ZN7leveldb2DB4OpenERKNS_7OptionsERKSsPPS0_ on Mavericks #27
Comments
Are you sure the leveldb libs are in the LD_LIBRARY_PATH? |
Do you have multiple LevelDB versions installed? Maybe this is a mismatch between compile time and runtime versions. |
LD_LIBRARY_PATH wasn't set so I set it and it didn't make a difference. I then uninstalled LevelDB and Plylel and then reinstalled them with LD_LIBRARY_PATH set to see if it had any affect. It didn't. Here is the current setting of LD_LIBRARY_PATH.
|
I don't have much experience debugging issues like these. Did you compile LevelDB yourself using the same compiler? |
I switched to working in Ubuntu Saucy and everything works. Not sure why my Mac environment is messed up, but considering I will be ultimately running this app from a Ubuntu, I am fine with this. |
I don't think this issue should have been closed, since it's still broken on Mavericks. I still have this problem. Installed leveldb with brew, installed plyvel pip, and get the same missing symbol.
|
Reopening. Please help debugging this, I'm not sure what the problem is. |
I'll do what I can :) |
So, is this with multiple LevelDB installations? Is LevelDB installed and reachable by the loader (LD_LIBRARY_PATH maybe)? |
Not familiar with this problem, but this looks similar to some extent: http://stackoverflow.com/questions/19737207/openssl-and-m2crypto-not-working-together-on-os-x-mavericks |
And maybe this one as well: http://stackoverflow.com/questions/21867277/installing-pillow-with-mac-os-x-mavericks-10-9-1 |
I removed all python.org Pythons from my system and reinstalled using Homebrew's pythons, and now this works. It may have been a conflict between Homebrew's Leveldb and python.org Python. |
Great, glad to hear that it works for you now. I'll close this issue, since it does not seem to caused by Plyvel after all. |
I encountered the same problem. It looks to me that the problem is caused by different C++ standard libraries used by leveldb and plyvel. When I install leveldb (in the standard way, This command worked for me:
|
I've encountered this issue as well, and so far can't find a solution. If plyvel relies on LD_LIBRARY_PATH, then you should know that on OS X El Capitan you can no longer use that due to possible security restrictions by the OS. I've seen this in other open-source projects that relies on this flag for loading libraries (e.g. see BVLC/caffe#3227). |
i cannot reproduce this. on osx el capitan with homebrew I can build/run plyvel just fine on different python versions after i
|
I have same problem on os x 10.11.3 with this commands:
plyvel package installed with wheels, so I try reinstall plyvel without wheels:
Maybe something wrong with wheel package? |
plyvel does not provide wheel packages; those are built locally on your system by |
Had the same issue, got it working by doing:
The |
@flaviovdf |
Same problem on linux. I want to use commands like "CFLAGS='-mmacosx-version-min=10.7 -stdlib=libc++' pip install plyvel --no-cache-dir", but all failed |
@troyoung this is about a mac osx specific issue. please open a new issue and provide all relevant information if your problem persists. |
i have solved my problem by install [email protected] which default is @1.23 |
@jakeywu Unfortunately 1.21 does not work Apple Sillicon |
Has anybody found an easy solution to this? Still an issue under ventura 13.2 (m1), leveldb 1.23, plyvel 1.5 |
Yeah, this doesn't work on MacOS Sonoma 14.2.1. I have installed leveldb on a custom path using : https://github.com/wbolster/plyvel/blob/main/scripts/install-leveldb.sh I have a new path where both lib/ and include/ folders are available. I included these paths when running make which successfully generates the .so object. Now when I install the libray itself using
I am not sure if the lib path needs to be provided again somewhere. I mostly edited the NOTE that |
Trying to get Plyvel working on Mavericks. I have LevelDB 1.15 installed via homebrew. In a Python 3.3 virtualenv, after
pip install plyvel
, I get the following:The docs say to ensure the linker can find the shared library, but I am not sure how to do that with pip. When grepping for that symbol, I find something similar, but not exact. Is this a version mismatch or I am just not looking at the right things?
The text was updated successfully, but these errors were encountered: