Skip to content

Use pkg-config to find system leveldb#35

Open
njwhite wants to merge 1 commit into
wmorgan:masterfrom
njwhite:master
Open

Use pkg-config to find system leveldb#35
njwhite wants to merge 1 commit into
wmorgan:masterfrom
njwhite:master

Conversation

@njwhite

@njwhite njwhite commented Aug 26, 2014

Copy link
Copy Markdown

Don't embed our own copy of LevelDB - build against the system on (the one pkg-config knows about) instead.

@vjoel

vjoel commented Aug 26, 2014

Copy link
Copy Markdown

I've been down this road already :)

https://github.com/vjoel/ruby-leveldb-native

Would you like to join that repo?

Btw, @wmorgan no longer maintains this repo and gave his blessing to ruby-leveldb-native.

@vjoel

vjoel commented Aug 26, 2014

Copy link
Copy Markdown

Another approach, instead of pkg-config (not sure how widely installed that is outside of linux), would be to use rake-compiler, as in https://github.com/minad/lmdb. This repo is sort of the best of both worlds: it has a bundled version of lmdb, but tries to find installed libs first. (And you can override that too.)

@vjoel

vjoel commented Aug 26, 2014

Copy link
Copy Markdown

I've been meaning to use rake-compiler in https://github.com/vjoel/ruby-leveldb-native, but I'm just more interested in working on lmdb now.

@njwhite

njwhite commented Aug 27, 2014

Copy link
Copy Markdown
Author

@vjoel I will, 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

Successfully merging this pull request may close these issues.

2 participants