Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `SSL_CTX_set_options' #24

Open
yair opened this issue May 22, 2019 · 0 comments
Open

undefined reference to `SSL_CTX_set_options' #24

yair opened this issue May 22, 2019 · 0 comments

Comments

@yair
Copy link

yair commented May 22, 2019

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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@yair and others