Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocksdb missing on Linux based system #10

Open
checho1989 opened this issue May 20, 2021 · 1 comment
Open

Rocksdb missing on Linux based system #10

checho1989 opened this issue May 20, 2021 · 1 comment

Comments

@checho1989
Copy link
Member

From Discord:
Ubuntu bionic 8gb ram, thinkpad 440s quad core i5.

10:54: "EXOS Node: \u001b[41m\u001b[30mfail\u001b[39m\u001b[22m\u001b[49m: Blockcore.Builder.FullNodeFeatureExecutor[0]\n
 An error occurred: 'System.TypeInitializationException: The type initializer for 'RocksDbSharp.Native' threw an exception.\n ---> 
NativeImport.NativeLoadException: Unable to locate rocksdb native library, either install it, or use RocksDbNative nuget package\n
 
Searched:\n 
/home/user/bin/runtimes/linux-x64/native/librocksdb-6.12.7.so: (NativeLoadException) dlopen: /home/user/bin/runtimes/linux-x64/native/librocksdb-6.12.7.so: cannot open shared object file: No such file or directory\n
 /home/user/bin/runtimes/linux-x64/native/librocksdb-6.12.so: (NativeLoadException) dlopen: /home/user/bin/runtimes/linux-"
@turcol
Copy link
Member

turcol commented May 20, 2021

While we have the Linux dependencies within the binaries in coming release, you can install them manually like this:

sudo apt install -y libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev

and copy the librocksdb.so file in the same directory

Start the EXOS Core like this:

chmod + EXOS.Core-1.0.19-linux-x86_64.AppImage
./EXOS.Core-1.0.19-linux-x86_64.AppImage --no-sandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants