Skip to content

Unable to install #26

@emhoracek

Description

@emhoracek

Running brew install ngx_openresty I get this error:

==> Installing ngx_openresty from killercup/openresty
==> Downloading http://openresty.org/download/ngx_openresty-1.7.10.2.tar.gz
Already downloaded: /Users/libby/Library/Caches/Homebrew/ngx_openresty-1.7.10.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/ngx_openresty/1.7.10.2 --with-http_ssl_module --with-pcre --with-pcre-jit --sbin-path=/usr/local/Cellar/ngx_openresty/1.7.10.2/bin/openresty --conf-path=/usr/l
==> make
Last 15 lines from /Users/libby/Library/Logs/Homebrew/ngx_openresty/02.make:
        -L/private/tmp/ngx_openresty-20160826-44437-1c7mnev/ngx_openresty-1.7.10.2/build/luajit-root/usr/local/Cellar/ngx_openresty/1.7.10.2/luajit/lib -Wl,-rpath,/usr/local/Cellar/ngx_openresty/1.7.10.2/luajit/lib -L/private/tmp/ngx_openresty-20160826-44437-1c7mnev/ngx_openresty-1.7.10.2/build/luajit-root/usr/local/Cellar/ngx_openresty/1.7.10.2/luajit/lib -lluajit-5.1 -lm -ldl -pagezero_size 10000 -image_base 100000000 -lpcre -lssl -lcrypto -lz
Undefined symbols for architecture x86_64:
  "_SSL_CTX_set_alpn_select_cb", referenced from:
      _ngx_http_ssl_merge_srv_conf in ngx_http_ssl_module.o
  "_SSL_CTX_set_next_protos_advertised_cb", referenced from:
      _ngx_http_ssl_merge_srv_conf in ngx_http_ssl_module.o
  "_SSL_select_next_proto", referenced from:
      _ngx_http_ssl_alpn_select in ngx_http_ssl_module.o
  "_X509_check_host", referenced from:
      _ngx_ssl_check_host in ngx_event_openssl.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [objs/nginx] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/killercup/homebrew-openresty/issues

Not sure what kind of diagnostic info might be helpful for you here...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions