# Problem when I use and include Digest

**URL:** <https://forum.crystal-lang.org/t/problem-when-i-use-and-include-digest/5237>\
**Category:** Help & Support\
**Created:** [January 6, 2023, 3:12pm UTC](https://forum.crystal-lang.org/t/problem-when-i-use-and-include-digest/5237 "2023-01-06T15:12:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fulgurance](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/fulgurance/32/1463_2.png) [@Fulgurance](https://forum.crystal-lang.org/u/Fulgurance)\
**Post date:** [January 6, 2023, 3:12pm UTC](https://forum.crystal-lang.org/t/problem-when-i-use-and-include-digest/5237/1 "2023-01-06T15:12:03Z")

</div>

Hello, recently in my project, I need to use the Digest library from Crystal. When I try to compile it in my Manjaro virtual machine, I have this issue:

```auto
/usr/bin/ld: _main.o: in function `__crystal_main':
/usr/lib/crystal/openssl/lib_ssl.cr:282: undefined reference to `SSL_library_init'
/usr/bin/ld: /usr/lib/crystal/openssl/lib_ssl.cr:282: undefined reference to `SSL_load_error_strings'
/usr/bin/ld: /usr/lib/crystal/openssl/lib_ssl.cr:282: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/usr/bin/ld: /usr/lib/crystal/openssl/lib_ssl.cr:282: undefined reference to `ERR_load_crypto_strings'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /home/zohran/ism/ism -rdynamic -L/usr/bin/../lib/crystal `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lm -lgc -lpthread -levent -lrt -lpthread -ldl`

```

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/blacksmoke16/32/1241_2.png) [@Blacksmoke16](https://forum.crystal-lang.org/u/Blacksmoke16)\
**Post date:** [January 6, 2023, 3:53pm UTC](https://forum.crystal-lang.org/t/problem-when-i-use-and-include-digest/5237/2 "2023-01-06T15:53:14Z")

</div>

This looks a lot like [crystal doesn't work with OpenSSL 1.1.0f (Debian 9) · Issue #4680 · crystal-lang/crystal · GitHub](https://github.com/crystal-lang/crystal/issues/4680). Try installing [Arch Linux - pkgconf 1.8.0-1 (x86\_64)](https://archlinux.org/packages/core/x86_64/pkgconf/) and make sure openssl is up to date, then try again.
