Dependency Configuration Issue | libsnark missing

I’m running Tails 2.6 x86_64 off a live usb with persistence and am having trouble compiling zcash.

@anon47418038 @Mugatu : I noticed you all are working on the OSX build, thought you might be able to point me in the right direction.

checking for gmp.h… yes
checking for __gmpn_sub_n in -lgmp… yes
checking gmpxx.h usability… yes
checking gmpxx.h presence… yes
checking for gmpxx.h… yes
checking for main in -lgmpxx… yes
Hunting for libsnark include directory…
Found libsnark include directory: /home/amnesia/Persistent/zcash/zcash/depends/x86_64-unknown-linux-gnu/include/libsnark
checking libsnark/gadgetlib1/gadget.hpp usability… yes
checking libsnark/gadgetlib1/gadget.hpp presence… yes
checking for libsnark/gadgetlib1/gadget.hpp… yes
checking for main in -lsnark… no
configure: error: libsnark missing

similar issues on github:
Build fails on my Debian 8 VM
Problems compiling on Debian 32bit

I’ve run apt-get install libgmp3-dev but the configure error persisted.

Any suggestions for how to get zcash to compile?

My end goal is to privately run zcash off a usb drive and remote manage the miner after boot. I’m working on a tutorial to help new users. Suggestions welcome.

1 Like

Have you installed all of the packages mentioned in the Beta Guide, i.e.:

sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake


(libgmp shouldn’t be necessary because a specific version should be compiled by the depends system.)

yes. There were no issues I am aware of.

Can you paste the full output of the attempted build, from a new checkout?

1 Like

full build output

Sorry, I couldn’t find any useful clues in the build output, and I’m probably going to be too busy to look at this again before launch. Please post on the github ticket if you make any more progress: Dependency Configuration Issue | libsnark missing · Issue #1572 · zcash/zcash · GitHub