From owner-freebsd-ports@freebsd.org Sun May 7 21:06:19 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 A61EDD625B7 for ; Sun, 7 May 2017 21:06:19 +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 804BD1FCA for ; Sun, 7 May 2017 21:06:18 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id e80f14f9 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 7 May 2017 15:06:11 -0600 (MDT) Content-Type: text/plain; charset=us-ascii 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: <62ed08f5-b41d-aa69-e9e8-4a05dd378c90@abinet.ru> Date: Sun, 7 May 2017 15:06:09 -0600 Cc: freebsd-ports@freebsd.org 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: Sun, 07 May 2017 21:06:19 -0000 > 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. Also, turning off the DSO and THREADS options seems unusual; under = normal circumstance you want both those things enabled. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org