got errot #include leveldb/c.h,but I have already installed leveldb through cmake
songrui233 opened this issue · 6 comments
songrui233 commented
Im really confused.Is there somthing I have to link to manually or sth else I have to do?please.
songrui233 commented
The error detail:
go install github.com/omniscale/imposm3/cmd/imposm
github.com/omniscale/imposm3/vendor/github.com/jmhodges/levigo
src/github.com/omniscale/imposm3/vendor/github.com/jmhodges/levigo/batch.go:4:24: fatal error: leveldb/c.h: No such file or directory
// #include "leveldb/c.h"
^
compilation terminated.
songrui233 commented
Solved
eva-j commented
For those who will find the same issue,
sudo apt-get install libleveldb-dev
helped.