I wanted to test rocksdb and rocksdb-ruby, but I am stuck. I downloaded and compiled rockdb on my Mac, but since it doesn't have an install script I added the rocksdb include path to CPATH, but I fail to see where the library path is so I get this:
$ gem install rocksdb-ruby
Building native extensions. This could take a while...
ERROR: Error installing rocksdb-ruby:
ERROR: Failed to build gem native extension.
/Users/maasha/install/bin/ruby extconf.rb
checking for rocksdb/db.h... yes
checking for main() in -lrocksdb... no
can't find header or library of rocksdb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Hello there,
I wanted to test rocksdb and rocksdb-ruby, but I am stuck. I downloaded and compiled rockdb on my Mac, but since it doesn't have an install script I added the rocksdb include path to CPATH, but I fail to see where the library path is so I get this:
Any hints?