# Dependency Configuration Issue | libsnark missing

**URL:** <https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696>\
**Category:** Technical Support\
**Created:** [October 16, 2016, 5:09pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696 "2016-10-16T17:09:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![daemon](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daemon/32/704_2.png) [@daemon](https://forum.zcashcommunity.com/u/daemon)\
**Post date:** [October 16, 2016, 5:09pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/1 "2016-10-16T17:09:14Z")

</div>

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](https://github.com/zcash/zcash/issues/198)  
[Problems compiling on Debian 32bit](https://github.com/zcash/zcash/issues/914)

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.

---

<div class="post-metadata">

**Author:** ![daira](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daira/32/43253_2.png) [@daira](https://forum.zcashcommunity.com/u/daira)\
**Post date:** [October 16, 2016, 5:47pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/2 "2016-10-16T17:47:53Z")

</div>

Have you installed all of the packages mentioned in the [Beta Guide](https://github.com/zcash/zcash/wiki/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.)

---

<div class="post-metadata">

**Author:** ![daemon](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daemon/32/704_2.png) [@daemon](https://forum.zcashcommunity.com/u/daemon)\
**Post date:** [October 16, 2016, 5:51pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/3 "2016-10-16T17:51:01Z")

</div>

yes. There were no issues I am aware of.

---

<div class="post-metadata">

**Author:** ![daira](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daira/32/43253_2.png) [@daira](https://forum.zcashcommunity.com/u/daira)\
**Post date:** [October 16, 2016, 5:52pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/4 "2016-10-16T17:52:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![daemon](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daemon/32/704_2.png) [@daemon](https://forum.zcashcommunity.com/u/daemon)\
**Post date:** [October 16, 2016, 8:29pm UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/5 "2016-10-16T20:29:56Z")

</div>

[full build output](https://gist.github.com/bradycoye/401cfd5c1af1c3b41b311f7559ec36bd)

---

<div class="post-metadata">

**Author:** ![daira](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daira/32/43253_2.png) [@daira](https://forum.zcashcommunity.com/u/daira)\
**Post date:** [October 24, 2016, 11:30am UTC](https://forum.zcashcommunity.com/t/dependency-configuration-issue-libsnark-missing/2696/6 "2016-10-24T11:30:53Z")

</div>

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](https://github.com/zcash/zcash/issues/1572)
