From owner-freebsd-ports@freebsd.org Mon May 8 15:20:25 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CA5ED625D5 for ; Mon, 8 May 2017 15:20:25 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DF471A1E for ; Mon, 8 May 2017 15:20:24 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id 8c680237 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 8 May 2017 09:20:22 -0600 (MDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: nginx is not linking against libressl From: Adam Weinberger In-Reply-To: Date: Mon, 8 May 2017 09:20:20 -0600 Cc: freebsd-ports Content-Transfer-Encoding: quoted-printable Message-Id: References: <62ed08f5-b41d-aa69-e9e8-4a05dd378c90@abinet.ru> To: abi X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2017 15:20:25 -0000 > On 8 May, 2017, at 2:48, abi wrote: >=20 > 08.05.2017 00:06, Adam Weinberger =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> On 7 May, 2017, at 13:55, abi wrote: >>>=20 >>> Hello, >>>=20 >>> I tried to upgrade my jail to the latest versions of ports and nginx = is not building correctly. >>>=20 >>> objs/src/event/ngx_event_openssl.o: In function = `ngx_ssl_get_ciphers': >>> src/event/ngx_event_openssl.c:(.text+0x3de6): undefined reference to = `SSL_CIPHER_find' >>> src/event/ngx_event_openssl.c:(.text+0x3e66): undefined reference to = `SSL_CIPHER_find' >>> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >>> *** Error code 1 >> I have no idea why this is the case, but it will build successfully = if you re-enable the IPV6 option. > You are right. The error is gone if IPv6 is enabled. Look like a = regression. I always compiled nginx without IPv6 (I don't need it and = probably it's even removed from my custom kernel) >=20 > Should we open PR ? I agree, this seems like a regression. Opening a PR to give Sergey some = background would be good. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org