electrum-server icon indicating copy to clipboard operation
electrum-server copied to clipboard

electrum server install ImportError

Open kuaikuaikim opened this issue 10 years ago • 3 comments

I have a trouble when i install the electrum server.The electrum server install document reference(https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md).everything has been done before run "electrum-server start" command to launch electrum server.but it print an error: "ImportError: /home/bitcoin/.python-eggs/plyvel-0.9-py2.7-linux-x86_64.egg-tmp/plyvel/_plyvel.so: undefined symbol: _ZN6snappy13RawUncompressEPKcmP".

I have google with the keyword "_ZN6snappy13RawUncompressEPKcmP". i found a reference in this page("https://github.com/wbolster/plyvel/issues/5"). I do as this page said, but finally still failed. my leveldb is 1.9, i install the liblevedb1,libleveldb-dev,plyvel. can anybody help me to solve this big problem.thanks a lot!

kuaikuaikim avatar Dec 30 '14 01:12 kuaikuaikim

have you installed leveldb?

joshafest avatar Nov 19 '15 16:11 joshafest

look bitcoind debug ...maybe there were headers only not blocks..... you need to resync bitcoind.

joshafest avatar Nov 19 '15 16:11 joshafest

Yes the installation steps are broken, the easiest way to reproduce is just start clean Ubuntu 16.04 and go step by step with HOWTO doc. I was able to fix the issue by installing various python dev related stuff, cannot tell with exactly was the case. This is quite sad the issue was not resolved since 2014. There could be a CI setup to start electrum-server in regtest mode.

jangorecki avatar Jun 01 '16 19:06 jangorecki