IoTone / TheShellProject

The Shell Project aims to build a viable general purpose blockchain written in Dlang, with attributes of security, ease of deployment, clear specification, ease of use for DAPPs, and multiple implementation interop
1 stars 1 forks source link

Fix build on dev branch #76

Closed truedat101 closed 3 years ago

truedat101 commented 3 years ago

Currently fails on m1 mac: dub build --compiler=ldc2

libkeccak-d ~master: building configuration "library"... shell-d ~master: building configuration "application"... Running pre-build commands... Building the project Linking... ld: library not found for -lsodium clang: error: linker command failed with exit code 1 (use -v to see invocation) Error: /usr/bin/cc failed with status: 1 ldc2 failed with exit code 1.

truedat101 commented 3 years ago

@pedroalvesbatista let me know what build error you are seeing.

pedroalvesbatista commented 3 years ago

Fail on Manjaro : dub build --compiler=ldc2

libkeccak-d ~master: building configuration "library"... shell-d ~master: building configuration "application"... Linking... /usr/bin/ld.gold: error: cannot find -lkeccak-tiny collect2: error: ld returned 1 exit status Error: /usr/bin/cc failed with status: 1 ldc2 failed with exit code 1.

pedroalvesbatista commented 3 years ago

Well, I ran git pull and could get Test RIPEMD and public key pair, as before.

truedat101 commented 3 years ago

So be sure to run this first: sh ./setup-deps.sh

truedat101 commented 3 years ago

That sets up the dependencies.

pedroalvesbatista commented 3 years ago

Yes, I ran the script and everything is fine by now.

truedat101 commented 3 years ago

@pedroalvesbatista what platform are you on ? Linux?

truedat101 commented 3 years ago

Dev branch building now, closing this out.