Code Monkey home page Code Monkey logo

Comments (6)

scwang90 avatar scwang90 commented on July 17, 2024 1

That worked!

I unnistall dotnet-2.0 and install dotnet-1.1.6
dotnet 1.16 for Win10 x64

from neo-node.

deanpress avatar deanpress commented on July 17, 2024

This error occurs when you have dotNET Runtime 2.0. You need dotNET Runtime 1.12 (LTS).

from neo-node.

facadev avatar facadev commented on July 17, 2024

Doesn't seem to work still.

# dotnet
Microsoft .NET Core Shared Framework Host

  Version  : 1.1.0
  Build    : 928f77c4bc3f49d892459992fb6e1d5542cb5e86
......

# dotnet neo-cli.dll
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libleveldb': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
   at Neo.IO.Data.LevelDB.Native.leveldb_options_create()
   at Neo.Implementations.Blockchains.LevelDB.LevelDBBlockchain..ctor(String path)
   at Neo.Shell.MainService.OnStart(String[] args)
   at Neo.Services.ConsoleServiceBase.Run(String[] args)
   at Neo.Program.Main(String[] args)
Aborted

I downloaded .NET Core from https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.2-download.md.

from neo-node.

metachris avatar metachris commented on July 17, 2024

neo-cli works with dotnet 2.0. this error looks like your system is missing the libleveldb dependency.

what OS are you using? the Readme describes installing the dependencies libleveldb-dev, sqlite3, libsqlite3-dev, libunwind8-dev, did you setup those?

from neo-node.

anyouuu avatar anyouuu commented on July 17, 2024

λ dotnet neo-cli.dll

#NEO-cli version 2.8

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libleveldb': 找不到指定的模块。 (Exception
from HRESULT: 0x8007007E)
at Neo.IO.Data.LevelDB.Native.leveldb_options_create()
at Neo.Implementations.Blockchains.LevelDB.LevelDBBlockchain..ctor(String path)
at Neo.Shell.MainService.OnStart(String[] args)
at Neo.Services.ConsoleServiceBase.Run(String[] args)
at Neo.Program.Main(String[] args)

from neo-node.

wally-yu avatar wally-yu commented on July 17, 2024

from ubuntu:
sudo apt-get install libleveldb-dev sqlite3 libsqlite3-dev libunwind8-dev
works for me

from neo-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.