Deploy fails in Crystal Lucky tutorial


Lucky 1.0.0 was recently released and I wanted to try out the tutorial for lucky on Then I got the following error:

 => ERROR [lucky_tasks_build 6/6] RUN crystal build --static --release -o /usr/local/bin/lucky                                                              63.7s
 => CANCELED [lucky_webserver_build 7/8] RUN shards build --production --static --release                                                                            63.8s
 > [lucky_tasks_build 6/6] RUN crystal build --static --release -o /usr/local/bin/lucky:
#22 63.69 Showing last frame. Use --error-trace for full trace.
#22 63.69 
#22 63.69 In lib/openssl_ext/src/openssl_ext/bio/
#22 63.69 
#22 63.69  22 | when LibCrypto::CTRL_SET_KTLS_SEND
#22 63.69            ^----------------------------
#22 63.69 Error: undefined constant LibCrypto::CTRL_SET_KTLS_SEND
Error failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c crystal build --static --release -o /usr/local/bin/lucky]: exit code: 1

What am I missing?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.