FISCO-BCOS / FISCO-BCOS/web3sdk

web3sdk启动报错

Open
#28 2 comments 0 reactions 0 assignees View on GitHub
good first issue resolved
Dominant language
Java
Stars
122
Forks
81
PR merge metrics
No merged PRs in 30d

Description

**操作系统**:Linux version 4.8.0-53-generic (buildd@lgw01-56) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) )

**jdk**:
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mod

**gradle**:

Gradle 4.6
Build time: 2018-02-28 13:36:36 UTC
Revision: 8fa6ce7945b640e6168488e4417f9bb96e4ab46c

Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_161 (Oracle Corporation 25.161-b12)
OS: Linux 4.8.0-53-generic amd

**启动web3sdk中test下的Ethereum类,总是报如下错误**:
2018-04-30 13:25:59.018 [nioEventLoopGroup-2-1] DEBUG NativeLibraryLoader(:) - Unable to load the library 'netty_tcnative_linux_x86_64', trying other loading mechanism.
java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_x86_64 in java.library.path
netty_tcnative_linux_x86_64 cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_x86_64 in java.library.path

Contributor guide

Open the contributing guide

Research direction

Start with the Ethereum class under test and reproduce its startup using the reported Java 8, Gradle 4.6, and Linux environment. Investigate the netty_tcnative_linux_x86_64 UnsatisfiedLinkError and the native-library loading configuration; the issue is done when the Ethereum test starts without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.