Opened 4 years ago

Closed 4 years ago

#954 closed defect (invalid)

Building nginx with static openssl-1.0.2g on Mac OSX El Capitan 10.11.4 (15E65)

Reported by: nVVEBd@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.9.x
Keywords: Cc:
uname -a: Darwin nvukovic 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
nginx -V: configure arguments: --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-pcre=../pcre-8.38 --with-zlib=../zlib-1.2.8 --with-openssl=../openssl-1.0.2g --with-http_v2_module

Description

https://github.com/nginxinc/nginx-wiki/issues/260

Issue that I've found regarding installation on Mac OSX El Capitan.

Issue when installing with static openssl source:

nginx v1.9.14 configure takes the default configure script from openssl (which fails at make time) instead of: ./Configure darwin64-x86_64-cc which is the system specific for the library to be successfully installed.

Had to manually change nginx objs/Makefile to replace the default configure for openssl.

Change History (2)

comment:1 by Sergey Kandaurov, 4 years ago

You may want to setup the KERNEL_BITS environment variable.

See for more details:
https://wiki.openssl.org/index.php/Compilation_and_Installation

comment:2 by Maxim Dounin, 4 years ago

Resolution: invalid
Status: newclosed

Consider reporting the problem with config script to the OpenSSL developers, and/or use KERNEL_BITS environment variable as suggested by pluknet.

Note: See TracTickets for help on using tickets.