26 ms·
I install git by compiling from source, as Ubuntu's version is behind a bit. My normal set of options isn't working. ./configure --with-openssl --with-libpcre
by akulbe 8y ago
I install git by compiling from source, as Ubuntu's version is behind a bit.
My normal set of options isn't working.
./configure --with-openssl --with-libpcre2 --with-curl --with-expat --with-pager=less --with-editor=vim --with-tcltk
LINK git-credential-store
LINK git-fast-import
LINK git-daemon
LINK git-imap-send
LINK git-http-backend
LINK git-sh-i18n--envsubst
LINK git-shell
LINK git-remote-testsvn
imap-send.o: In function `sk_GENERAL_NAME_num':
/usr/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_num'
imap-send.o: In function `sk_GENERAL_NAME_value':
/usr/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_value'
imap-send.o: In function `sk_GENERAL_NAME_pop_free':
/usr/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_pop_free'
/usr/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_pop_free'
imap-send.o: In function `ssl_socket_connect':
/home/aaron/Downloads/git-2.20.0/imap-send.c:287: undefined reference to `OPENSSL_init_ssl'
/home/aaron/Downloads/git-2.20.0/imap-send.c:288: undefined reference to `OPENSSL_init_ssl'
/home/aaron/Downloads/git-2.20.0/imap-send.c:290: undefined reference to `TLS_method'
/home/aaron/Downloads/git-2.20.0/imap-send.c:303: undefined reference to `SSL_CTX_set_options'
collect2: error: ld returned 1 exit status
Makefile:2374: recipe for target 'git-imap-send' failed
make: * [git-imap-send] Error 1
- tomsmeding 8y agoYou're probably having problems with your openssl installation. Perhaps ask on a place like stackoverflow, where the presentation format can be a lot more pleasing.
- akulbe 8y agoSorry downvoters. This wasn't a good idea. I didn't think of SO.
- TimWolla 8y agoYou can use this PPA to get “bleeding edge” versions of git: https://launchpad.net/~git-core/+archive/ubuntu/ppa https://launchpad.net/~git-core/+archive/ubuntu/ppa