nginx is not linking against libressl

Adam Weinberger adamw at adamw.org
Sun May 7 21:06:19 UTC 2017


> 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.

Also, turning off the DSO and THREADS options seems unusual; under normal circumstance you want both those things enabled.

# Adam


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




More information about the freebsd-ports mailing list