From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BE65C255A6 for ; Fri, 13 Sep 2019 09:06:21 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HwL83sl21tdQ for ; Fri, 13 Sep 2019 09:06:21 -0400 (EDT) Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id E44BD255A1 for ; Fri, 13 Sep 2019 09:06:17 -0400 (EDT) From: "Alexander V. Tikhonov" Subject: [tarantool-patches] [PATCH v1] build: libcurl needs openssl111 on FreeBSD Date: Fri, 13 Sep 2019 16:06:13 +0300 Message-Id: <2f79ad5e7eb893ec4814090d1b35db92b095cfcb.1568379903.git.avtikhon@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Alexander Turenko Cc: "Alexander V. Tikhonov" , tarantool-patches@freelists.org Found that the curl failed to build on FreeBSD with errors: gmake[2]: Entering directory '/home/vagrant/tarantool/third_party/curl/src' CCLD curl /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSLv23_client_method' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `CONF_modules_free' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ERR_free_strings' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `sk_value' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `ENGINE_cleanup' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSL_library_init' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `EVP_MD_CTX_destroy' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `sk_pop_free' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSLeay' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSL_get_ex_new_index' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `OPENSSL_add_all_algorithms_noconf' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSL_COMP_free_compression_methods' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `EVP_MD_CTX_create' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `EVP_cleanup' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `sk_num' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `sk_pop' /usr/local/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `SSL_load_error_strings' collect2: error: ld returned 1 exit status gmake[2]: *** [Makefile:921: curl] Error 1 Also found that its dependences installation part used install of openssl of the earlier version which rolled back the newer version: Checking integrity... done (1 conflicting) - openssl-1.0.2t,1 conflicts with openssl111-1.1.1d on /usr/local/bin/c_rehash Checking integrity... done (0 conflicting) The following 2 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: openssl111-1.1.1d New packages to be INSTALLED: openssl: 1.0.2t,1 To avoid of it changed 'openssl' to 'openssl111'. Closed #4490 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4490-freebsd-libcurl Issue: https://github.com/tarantool/tarantool/issues/4490 .travis.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.mk b/.travis.mk index e65a4016c..b8151ed0b 100644 --- a/.travis.mk +++ b/.travis.mk @@ -130,7 +130,7 @@ test_osx: deps_osx test_osx_no_deps deps_freebsd: sudo pkg install -y git cmake gmake gcc coreutils \ - readline ncurses libyaml openssl libunwind icu \ + readline ncurses libyaml openssl111 libunwind icu \ python27 py27-pip py27-setuptools py27-daemon \ py27-yaml py27-argparse py27-six py27-gevent \ gdb bash autoconf automake libtool -- 2.17.1