diff --git a/README.md b/README.md index 0046365..5d8185c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ A Nim wrapper for [Facebook's RocksDB](https://github.com/facebook/rocksdb), a p Nim-RocksDB currently provides a wrapper for the low-level functions of RocksDB +## Requirements + +A RocksDB installation that provides `librocksdb.so`. This means that on Debian, and possibly on other Linux distros, you need "librocksdb-dev", not just a versioned "librocksdbX.Y" package that only provides `librocksdb.so.X.Y.Z`. + ## Usage See [simple_example](examples/simple_example.nim) diff --git a/rocksdb/librocksdb.nim b/rocksdb/librocksdb.nim index d807e31..9bcedcf 100644 --- a/rocksdb/librocksdb.nim +++ b/rocksdb/librocksdb.nim @@ -47,9 +47,7 @@ else: proc shouldUseNativeLinking(): bool {.compileTime.} = when defined(linux): - let uname = staticExec("uname -a") - if uname.find("ARCH") != -1: # Arch linux - return true + return true template rocksType(T) = type T* = distinct pointer