undefined reference to `SSL_CTX_set_options'
Tried installing via homebrew (on Ubuntu 18.04). Got the following error near the end:
==> Summary ?? /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0: 966 files, 61.6MB, built in 11 minutes 2 seconds ==> Installing geolessel/repo/trello-cli ==> Downloading https://github.com/geolessel/trello-cli/archive/v0.3.0.tar.gz ==> Downloading from https://codeload.github.com/geolessel/trello-cli/tar.gz/v0.3.0 ######################################################################## 100.0% ==> PATH="/usr/local/opt/openssl/bin:$PATH" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkg Last 15 lines from /home/yair/.cache/Homebrew/Logs/trello-cli/01.pkgconfig": /home/linuxbrew/.linuxbrew/bin/ld: _main.o: in functionadd_options':
/home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/ssl/context.cr:323: undefined reference to SSL_CTX_set_options' /home/linuxbrew/.linuxbrew/bin/ld: _main.o: in function initialize':
/home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_new' /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_set_write'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_set_read' /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_set_ctrl'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_set_create' /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:115: undefined reference to BIO_meth_set_destroy'
/home/linuxbrew/.linuxbrew/bin/ld: _main.o: in function set_data': /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/openssl/bio.cr:14: undefined reference to BIO_set_data'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: gcc-5 "${@}" -o '/tmp/trello-cli-20190522-7398-1n5gc7p/trello-cli-0.3.0/bin/trello' -rdynamic -lz 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' -lncursesw -lpcre -lm /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/embedded/lib/libgc.a -lpthread /home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/src/ext/libcrystal.a -levent -lrt -ldl -L/home/linuxbrew/.linuxbrew/Cellar/crystal/0.28.0/embedded/lib -L/usr/lib -L/usr/local/lib
Makefile:2: recipe for target 'make' failed
make: *** [make] Error 1
`