corazawaf / libcoraza

OWASP Coraza C connector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error installing libcoraza

zevaldi opened this issue · comments

I want to test corazafor nginx and for this I am trying to compile and install libcoraza on Centos 8.

Configure and make work correctly, but when doing make install I receive the following error:

/bin/sh ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /opt/libcoraza/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make[1]: Entering directory '/opt/libcoraza'
make[1]: Nothing to be done for 'install-exec-am'.
make all-am
make[2]: Entering directory '/opt/libcoraza'
make[2]: Leaving directory '/opt/libcoraza'
CCLD tests/simple_get
./libcoraza.a(000023.o): In function _goboringcrypto_EVP_CIPHER_CTX_free': /_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:809: undefined reference to dlsym'
./libcoraza.a(000023.o): In function _goboringcrypto_EVP_CIPHER_CTX_new': /_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:327: undefined reference to dlsym'
./libcoraza.a(000023.o): In function _goboringcrypto_EVP_CIPHER_CTX_set_padding': /_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:328: undefined reference to dlsym'
./libcoraza.a(000023.o): In function _goboringcrypto_EVP_CipherInit_ex': /_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:329: undefined reference to dlsym'
./libcoraza.a(000023.o): In function _goboringcrypto_EVP_CipherUpdate': /_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:332: undefined reference to dlsym'
./libcoraza.a(000023.o):/_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:776: more undefined references to dlsym' follow ./libcoraza.a(000029.o): In function goboringcrypto_DLOPEN_OPENSSL':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:71: undefined reference to dlopen' ./libcoraza.a(000029.o): In function goboringcrypto_FIPS_mode':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:146: undefined reference to dlsym' ./libcoraza.a(000029.o): In function goboringcrypto_internal_OPENSSL_init':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:81: undefined reference to dlsym' ./libcoraza.a(000029.o): In function goboringcrypto_internal_ERR_error_string_n':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:112: undefined reference to dlsym' ./libcoraza.a(000029.o): In function goboringcrypto_internal_ERR_get_error_line_data':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:95: undefined reference to dlsym' ./libcoraza.a(000030.o): In function goboringcrypto_RAND_bytes':
/
/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:159: undefined reference to dlsym' ./libcoraza.a(000031.o):/_/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h:222: more undefined references to dlsym' follow
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:409: tests/simple_get] Error 1
make[1]: Leaving directory '/opt/libcoraza'
make: *** [Makefile:696: install-am] Error 2