# Undefined reference to crypt

**URL:** <https://forum.elixirforum.com/t/undefined-reference-to-crypt/63148>\
**Category:** Discussions\
**Tags:** nerves, linux, buildroot\
**Created:** [April 27, 2024, 12:03am UTC](https://forum.elixirforum.com/t/undefined-reference-to-crypt/63148 "2024-04-27T00:03:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fhunleth](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fhunleth/32/978_2.png) [@fhunleth](https://forum.elixirforum.com/u/fhunleth)\
**Post date:** [April 27, 2024, 2:34am UTC](https://forum.elixirforum.com/t/undefined-reference-to-crypt/63148/2 "2024-04-27T02:34:04Z")

</div>

The `crypt` function was removed by default in glibc. See [Making sure you're not a bot!](https://sourceware.org/glibc/wiki/Release/2.38#Building_libcrypt_is_disabled_by_default). It looks like the answer is to enable `libxcrypt` in Buildroot.

---

_[View the full topic](https://forum.elixirforum.com/t/undefined-reference-to-crypt/63148)._
