在Ubuntu 18.04上运行gero程序,可能会遇到如下错误:
bin/gero: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory
原因是缺少libgomp1,安装方法:
apt install -y libgomp1
安装后即可正确运行,正确的日志会有启动信息,和同步的内容,类似如下:
sssSSssss
sSSSSSSSSSSSSSSSSSSSs
sSSSSSSSSSSSSSSSSSSSSSSSSSSs
sSSSSSSss ssSSSSSSs
ssSSSSSSs s sss sSSSSSSs
sSSSSSs sSSSSSSSSSSSSSSs sSSSSS
sSSSS +SSSSSSS+ sSSSsss SSSSSs
sSSSSs sSSSSSSSs sssSss SSSS sSSSS
SSSS SSSSSs sSSSSSSSSs sSSSSs sSSSSs
sSSSS sSSSSSs SSSSSSSSSSSs SSSSSs SSSSs
SSSSs SSSSSS SSSSSSSSSSSSSs SSSSSSSs SSSS
SSSSs SSSSSSs sSSSSSSSSSSSSSSs SSSSSSSSs sSSSs
sSSSs SSSSSSs SSSSSSSSSSSSSssSSSSSSSSSs +SSSs
SSSS SSSSSSs sSSSSSSSSS+SSSSSSSSSSSSSS sSSSS
sSSSs SSSSSS sSSSSSSSSSSsSSSSSSSSSSSs ssSSS
sSSSs s SSSSSSs SSSSSSSSSSssSSSSSSSSS SSSs
SSSS sS SSSSSSs SSSSSSSSSs sSSSSSS SSSs
SSSss sSs sSSSSSSs ssSSSSSSSS sSSSS SSSs
SSS+s SSS sSSSSSSS sSSSSSSS ssSSS SSSS
SSSSs sSSSs sSSSSSSSss sSSSSSSs SSS SSSs
SSSS sSSSSS SSSSSSSSSs sSSSSSSs SS SSS+
SSSSs SSSSSSS sSSSSSSSSS SSSSSs ss SSSs
SSS+ sSSSSSSSSSs sSSSSSSSSSs SSSSSS ss +SSS
SSSS SSSSSSSSSSSss sSSSSSSSs sSSSSS sSSSS
sSSSs sSSSSSSSs sSSSs sSSSSSSs SSSSSs sSSSs
SSSSs sSSSSSSs SSSSSSs sSSSSSSs SSSSSs sSSS+
SSSS SSSSS+ SSSSSSSssSSSSSs sSSSS sSSSS
sSSSS SSSSS ssSSSSSSsSSSSss sSSSSs SSSS
SSSSss SSSs SSSSSSSSSs SSSSS sSSSSs
SSSSs sSSs +SSSSS sSSSSs ssSSSs
sSSSSS sSSSS sSSSSs SSSSSs
SSSSS+ss sSSSSSSSSSSSS sSSSSSs
SSSSSSss ssSSSSSSs
sSSSSSSSsss ssSSSSSSSS
sSSSSSSSSSSSSSSSSSSSSSSSSSs
ssSSSSSSSSSSSSSSSSSs
rrssssrr
load keypair from: ./czero/data/output_szk_v1
load keypair from: ./czero/data/output_szk_v2
load keypair from: ./czero/data/input_szk_v0
init superzk2.0 lib version 2.0.3
INFO [03-17|03:23:57.694] Maximum peer count SERO=1024
INFO [03-17|03:23:57.695] Starting peer-to-peer node instance=Gero/v1.0.2-rc1-4c244a47/linux-amd64/go1.13.4
INFO [03-17|03:23:57.695] Allocated cache and file handles database=/root/geropkg/data/gero/chaindata cache=768 handles=512
INFO [03-17|03:23:57.721] Writing default beta-net genesis block
INFO [03-17|03:24:00.445] Persisted trie from memory database nodes=144705 size=17.02mB time=787.641871ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [03-17|03:24:00.446] Initialised chain configuration config="{ChainID: 2019 AutumnTwilight: 0 Engine: ethash}"
INFO [03-17|03:24:00.446] Disk storage enabled for ethash caches dir=/root/geropkg/data/gero/ethash count=3
INFO [03-17|03:24:00.446] Disk storage enabled for ethash DAGs dir=/root/.ethash count=2
INFO [03-17|03:24:00.446] Initialising Sero protocol versions="[63 62]" network=2019
INFO [03-17|03:24:00.447] Loaded most recent local header number=0 hash=1c5493…10f047 td=1717986918
INFO [03-17|03:24:00.447] Loaded most recent local full block number=0 hash=1c5493…10f047 td=1717986918
INFO [03-17|03:24:00.447] Loaded most recent local fast block number=0 hash=1c5493…10f047 td=1717986918
INFO [03-17|03:24:00.453] Allocated cache and file handles database=/root/geropkg/data/exchange cache=1024 handles=1024
INFO [03-17|03:24:00.486] Init NewExchange success
INFO [03-17|03:24:00.486] Allocated cache and file handles database=/root/geropkg/data/stake cache=1024 handles=1024
INFO [03-17|03:24:00.540] Starting P2P networking
INFO [03-17|03:24:02.670] Mapped network port proto=udp extport=53717 intport=53717 interface="UPNP IGDv1-IP1"
INFO [03-17|03:24:02.711] UDP listener up self=snode://feac53f19b1d98ff4a3ccc6015c164b8d87cf3233ad4fce4489954f34c54381fb5a7e7c1f8ba6606990f3179b9f6a8a93bff658f1ef0b4ac382706cfd46589ea@218.81.48.13:53717
INFO [03-17|03:24:02.712] UDP listener up net=snode://feac53f19b1d98ff4a3ccc6015c164b8d87cf3233ad4fce4489954f34c54381fb5a7e7c1f8ba6606990f3179b9f6a8a93bff658f1ef0b4ac382706cfd46589ea@[::]:53717
INFO [03-17|03:24:02.712] RLPx listener up self=snode://feac53f19b1d98ff4a3ccc6015c164b8d87cf3233ad4fce4489954f34c54381fb5a7e7c1f8ba6606990f3179b9f6a8a93bff658f1ef0b4ac382706cfd46589ea@218.81.48.13:53717
INFO [03-17|03:24:02.715] IPC endpoint opened url=/root/geropkg/data/gero.ipc
INFO [03-17|03:24:02.745] Mapped network port proto=tcp extport=53717 intport=53717 interface="UPNP IGDv1-IP1"
INFO [03-17|03:24:02.812] Block synchronisation started
INFO [03-17|03:24:04.178] Imported new chain segment blocks=23 txs=0 mgas=0.000 elapsed=157.074ms mgasps=0.000 number=23 hash=1f29a4…1bd97f cache=1.36mB
INFO [03-17|03:24:12.285] Imported new chain segment blocks=1187 txs=6 mgas=1.388 elapsed=8.004s mgasps=0.173 number=1210 hash=c39d29…57ea7e cache=11.77mB
INFO [03-17|03:24:17.906] Imported new chain segment blocks=861 txs=0 mgas=0.000 elapsed=5.621s mgasps=0.000 number=2071 hash=865948…b6c8e1 cache=13.89mB
INFO [03-17|03:24:25.966] Imported new chain segment blocks=1219 txs=1 mgas=0.025 elapsed=8.005s mgasps=0.003 number=3290 hash=0f8866…99cdf7 cache=16.57mB