Kong/homebrew-kong

brew install kong fails on macOS 10.14.6

ravishekhar88 opened this issue · 1 comments

 $ brew install kong
Updating Homebrew...
==> Installing kong from kong/kong
==> Installing dependencies for kong/kong/kong: kong/kong/openresty@1.15.8.3 and libyaml
==> Installing kong/kong/kong dependency: kong/kong/openresty@1.15.8.3
==> Downloading https://github.com/Kong/kong-build-tools/archive/4.2.2.zip
Already downloaded: /Users/B0208964/Library/Caches/Homebrew/downloads/a39845e87e66f07ffff148ddad7dc0bccc7b850487b0d24e67326c54ed1f11c7--kong-build-tools-4.2.2.zip
==> ./kong-ngx-build --prefix /usr/local/Cellar/openresty@1.15.8.3/1.15.8.3 --openresty 1.15.8.3 --openssl 1.1.1f --luarocks 3.3.1 -j 12
Last 15 lines from /Users/B0208964/Library/Logs/Homebrew/openresty@1.15.8.3/01.kong-ngx-build:
	    "-oMakefile" tools/c_rehash.in > "tools/c_rehash"
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
	    "-oMakefile" util/shlib_wrap.sh.in > "util/shlib_wrap.sh"
ar r apps/libapps.a apps/app_rand.o apps/apps.o apps/bf_prefix.o apps/opt.o apps/s_cb.o apps/s_socket.o
clang -fPIC -arch x86_64 -O3 -Wall -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/Cellar/openresty@1.15.8.3/1.15.8.3/openssl\"" -DENGINESDIR="\"/usr/local/Cellar/openresty@1.15.8.3/1.15.8.3/openssl/lib/engines-1.1\"" -DNDEBUG -DPURIFY -c -o crypto/aes/aesni-mb-x86_64.o crypto/aes/aesni-mb-x86_64.s
dyld: Library not loaded: /usr/local/lib/libwep
  Referenced from: /usr/bin/ar
  Reason: no suitable image found.  Did find:
	/usr/local/lib/libwep: code signature in (/usr/local/lib/libwep) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
	/usr/local/lib/libwep: stat() failed with errno=1
make[1]: *** [apps/libapps.a] Abort trap: 6
make[1]: *** Waiting for unfinished jobs....
chmod a+x util/shlib_wrap.sh
chmod a+x tools/c_rehash
make: *** [all] Error 2

Hi, I am closing this issue because of lack of activity. If you think it is still unresolved, please reopen with the requested information. Thanks!