You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian 10 had removed openssl 1.0 completely from its package repository in favor of openssl 1.1. I tried to compile it against 1.1 hoping there would be backward compatibility but there was not.
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-054955249/000021.o: In function `go_init_locks':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/init_posix.go:31: undefined reference to `CRYPTO_num_locks'
/tmp/go-link-054955249/000031.o: In function `X_X509_add_ref':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:295: undefined reference to `CRYPTO_add_lock'
/tmp/go-link-054955249/000031.o: In function `X_HMAC_CTX_new':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:329: undefined reference to `HMAC_CTX_init'
/tmp/go-link-054955249/000031.o: In function `X_HMAC_CTX_free':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:336: undefined reference to `HMAC_CTX_cleanup'
/tmp/go-link-054955249/000031.o: In function `X_shim_init':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:380: undefined reference to `SSL_load_error_strings'
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:381: undefined reference to `SSL_library_init'
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:382: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:389: undefined reference to `CRYPTO_set_locking_callback'
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:390: undefined reference to `CRYPTO_set_id_callback'
/tmp/go-link-054955249/000031.o: In function `X_EVP_MD_CTX_new':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:287: undefined reference to `EVP_MD_CTX_create'
/tmp/go-link-054955249/000031.o: In function `X_EVP_MD_CTX_free':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:291: undefined reference to `EVP_MD_CTX_destroy'
/tmp/go-link-054955249/000031.o: In function `X_EVP_dss':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:308: undefined reference to `EVP_dss'
/tmp/go-link-054955249/000031.o: In function `X_EVP_dss1':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:312: undefined reference to `EVP_dss1'
/tmp/go-link-054955249/000031.o: In function `X_EVP_sha':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:316: undefined reference to `EVP_sha'
/tmp/go-link-054955249/000031.o: In function `X_SSL_new_index':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:431: undefined reference to `SSL_get_ex_new_index'
/tmp/go-link-054955249/000031.o: In function `X_SSLv23_method':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:443: undefined reference to `SSLv23_method'
/tmp/go-link-054955249/000031.o: In function `X_SSLv3_method':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:448: undefined reference to `SSLv3_method'
/tmp/go-link-054955249/000031.o: In function `X_SSL_CTX_new_index':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:475: undefined reference to `SSL_CTX_get_ex_new_index'
/tmp/go-link-054955249/000031.o: In function `X_sk_X509_num':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:757: undefined reference to `sk_num'
/tmp/go-link-054955249/000031.o: In function `X_sk_X509_value':
/home/kmarschke/go/src/github.com/spacemonkeygo/openssl/shim.c:761: undefined reference to `sk_value'
collect2: error: ld returned 1 exit statu
The text was updated successfully, but these errors were encountered:
Debian 10 had removed openssl 1.0 completely from its package repository in favor of openssl 1.1. I tried to compile it against 1.1 hoping there would be backward compatibility but there was not.
The text was updated successfully, but these errors were encountered: