Cross-compiling Crystal applications - Part 1

Indeed, for the errors you’re listing, you will need to add OpenSSL and Zlib, and a few others, depending on what you’re using.

For reference, here is a long list of all the packages I used in the past:

  • gc-dev
  • gmp-dev
  • libevent-static
  • libevent-dev
  • openssl-libs-static
  • openssl-dev
  • pcre-dev
  • pcre2-dev
  • sqlite-static
  • sqlite-dev
  • yaml-static
  • yaml-dev
  • zlib-static
  • zlib-dev

You’re welcome to explore and add the needed dependencies for your test :blush:

I mentioned in previous comment, while I would like to ensure reproducibility of the build (being able to get the exact same dependencies), is hard to maintain and keep up to date the entire list.

Cheers.

1 Like