omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
723 stars 158 forks source link

got errot #include leveldb/c.h,but I have already installed leveldb through cmake #169

Closed songrui233 closed 6 years ago

songrui233 commented 6 years ago

Im really confused.Is there somthing I have to link to manually or sth else I have to do?please.

songrui233 commented 6 years ago

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 6 years ago

Solved

eva-j commented 5 years ago

For those who will find the same issue,

sudo apt-get install libleveldb-dev

helped.

jishankai commented 4 years ago

@eva-j Thank you so much! Save my day!

helplessJ commented 3 years ago

++ thank you @eva-j 3 years later and still helping.

youngqqcn commented 3 years ago

@eva-j Thanks!