# terminate called after throwing an instance of 'lbcrypto::not\_available\_error'

**URL:** <https://openfhe.discourse.group/t/terminate-called-after-throwing-an-instance-of-lbcrypto-not-available-error/2011>\
**Category:** Library Questions\
**Created:** [April 28, 2025, 6:56pm UTC](https://openfhe.discourse.group/t/terminate-called-after-throwing-an-instance-of-lbcrypto-not-available-error/2011 "2025-04-28T18:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![honghao](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@honghao](https://openfhe.discourse.group/u/honghao)\
**Post date:** [April 28, 2025, 6:56pm UTC](https://openfhe.discourse.group/t/terminate-called-after-throwing-an-instance-of-lbcrypto-not-available-error/2011/1 "2025-04-28T18:56:54Z")

</div>

terminate called after throwing an instance of ‘lbcrypto::not\_available\_error’  
what(): /home/jhh/cnn/openfhe-development/src/core/lib/math/discretegaussiangenerator.cpp:175 DGG Inversion Sampling. FindInVector value not found: 0.437470  
Aborted (core dumped)

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [April 28, 2025, 6:59pm UTC](https://openfhe.discourse.group/t/terminate-called-after-throwing-an-instance-of-lbcrypto-not-available-error/2011/2 "2025-04-28T18:59:23Z")

</div>

Could you provide a minimal working example that generates this exception? Could you provide more background information for what you were trying to run?
