I just thought I would leave a note here for others who may have this issue building imposm3 on Fedora Core 20:
I git cloned HyperLevelDB and installed it, but for some reason it did not create leveldb symlinks, so the levigo dependency with 'go get imposm3' would fail and not be able to find "leveldb/c.h".
I looked in /usr/local/include and lo-and-behold, there was a hyperleveldb dir but no leveldb dir. So I did:
ln -s hyperleveldb leveldb
Then I needed to do the same for the libraries:
cd /usr/local/lib
ln -s hyperleveldb.so.0.0.0 leveldb.so.0.0.0
ln -s hyperleveldb.so.0.0.0 leveldb.so.0
ln -s hyperleveldb.so.0.0.0 leveldb.so
I just thought I would leave a note here for others who may have this issue building imposm3 on Fedora Core 20:
I git cloned HyperLevelDB and installed it, but for some reason it did not create leveldb symlinks, so the levigo dependency with 'go get imposm3' would fail and not be able to find "leveldb/c.h".
I looked in /usr/local/include and lo-and-behold, there was a hyperleveldb dir but no leveldb dir. So I did: ln -s hyperleveldb leveldb
Then I needed to do the same for the libraries: cd /usr/local/lib ln -s hyperleveldb.so.0.0.0 leveldb.so.0.0.0 ln -s hyperleveldb.so.0.0.0 leveldb.so.0 ln -s hyperleveldb.so.0.0.0 leveldb.so
Then "go get imposm3" worked as expected.