You have to link against libdl on Linux

pull/541/head
CryptoManiac 2020-06-17 09:18:07 +03:00 committed by jagdeep sidhu
parent 43f2cb3b77
commit 4b72d7fc3d
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ Setup variables for gorocksdb: https://github.com/tecbot/gorocksdb
```
export CGO_CFLAGS="-I/path/to/rocksdb/include"
export CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -ldl"
export CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -ldl -lbz2 -lsnappy -llz4"
```
Install ZeroMQ: https://github.com/zeromq/libzmq