nginx is not linking against libressl

Adam Weinberger adamw at adamw.org
Mon May 8 15:20:25 UTC 2017


> On 8 May, 2017, at 2:48, abi <abi at abinet.ru> wrote:
> 
> 08.05.2017 00:06, Adam Weinberger пишет:
>>> On 7 May, 2017, at 13:55, abi <abi at abinet.ru> wrote:
>>> 
>>> Hello,
>>> 
>>> I tried to upgrade my jail to the latest versions of ports and nginx is not building correctly.
>>> 
>>> 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)
> 
> Should we open PR ?

I agree, this seems like a regression. Opening a PR to give Sergey some background would be good.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org



More information about the freebsd-ports mailing list