8000 LMDB on .Net core + Linux · Issue #71 · CoreyKaylor/Lightning.NET · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LMDB on .Net core + Linux #71

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

Closed
KarolKolenda opened this issue Jul 1, 2016 · 2 comments
Closed

LMDB on .Net core + Linux #71

KarolKolenda opened this issue Jul 1, 2016 · 2 comments

Comments

@KarolKolenda
Copy link

I know that this is not a bug but I really can't get my head around this. How can I get this to work on linux (centos - but I guess it doesn't matter much)? I created a basic .net Core app with lightning.net and on Windows everything works fine - just don't know how to provide native (linux) lmdb.dll equivalent in linux environment. Any help/pointers much appreciated.

@CoreyKaylor
Copy link
Owner

Have a look at https://github.com/CoreyKaylor/Lightning.NET/blob/master/build.sh#L21

My memory is a bit hazy, but I believe if lmdb.so is on your path it's already a candidate for DllImport, but if not you can use the same technique as the build script so it can find the lib. So you would install the native lib through the OS package manager and point that environment variable wherever that was installed (again if necessary).

@KarolKolenda
Copy link
Author

@CoreyKaylor It took me a while - but it does work. I got lmdb via yum like you suggested and tinkered a bit. I had to locate lmdb and rename it to lmdb.so (again, thanks for the clue). I guess it just proves my lack of knowledge re: Linux (I am clueless in this environment): I am sure I can make alias or something similar in the future.

That being said I managed to have it up and running - and it does work brilliantly!

Once again big thank to you - for the library and for your helpful support. You Sir are a genius!

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
0