Welcome! Log In Create A New Profile

Advanced

Re: A build of nginx with static-linked OpenSSL fails on Mac

Maxim Dounin
January 12, 2015 10:44AM
Hello!

On Fri, Jan 09, 2015 at 05:45:39AM -0500, cubicdaiya wrote:

> Hello.
>
> A build of nginx with static-linked OpenSSL seems to fail on Mac.
>
> $ uname -ar
> Darwin host 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT
> 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
> $ cd nginx-1.7.9
> $ ./configure \
> --with-http_ssl_module \
> --with-openssl=../openssl-1.0.1k
> $ make
> .
> .
> .
> Operating system: i686-apple-darwinDarwin Kernel Version 14.0.0: Fri Sep 19
> 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
> WARNING! If you wish to build 64-bit library, then you have to
> invoke './Configure darwin64-x86_64-cc' *manually*.
> You have about 5 seconds to press Ctrl-C to abort.

[...]

> Though the rough patch below fixes failure, is there a better solution
> expect dynamic-linking OpenSSL?

Defining KERNEL_BITS=64 in the environment will convince recent
enough OpenSSL to build 64-bit library instead.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

A build of nginx with static-linked OpenSSL fails on Mac

cubicdaiya January 09, 2015 05:45AM

Re: A build of nginx with static-linked OpenSSL fails on Mac

Maxim Dounin January 12, 2015 10:44AM

Re: A build of nginx with static-linked OpenSSL fails on Mac

cubicdaiya January 12, 2015 02:49PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready