Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.
EVP_CIPHER_CTX_init results in libcrypto not found
commandline-be created
Dear,
Attempting to compile nxlog-ce on Arch Linux i hit a snag.
./configure
results in
checking for openssl/evp.h... yes
checking for EVP_CIPHER_CTX_init in -lcrypto... no
configure: error: libcrypto not found
-- the configure: error is generated on
#define HAVE_LIBCRYPTO 1
_ACEOF
LIBS="-lcrypto $LIBS"
else
as_fn_error $? "libcrypto not found" "$LINENO" 5
fi
I doubt if i want to modify ./configure to skip this. What can i do to fix this ?
lib is installed
/usr/lib/libressl/libcrypto.so
/usr/lib/libressl/libcrypto.so.46
/usr/lib/libressl/libcrypto.so.46.0.1
/usr/lib/libressl/pkgconfig/libcrypto.pc
/usr/lib/libcryptopp.so
/usr/lib/libcryptopp.so.8
/usr/lib/libcryptopp.so.8.2.0
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.1.1
Br,
Joris
commandline-be created
Own module compilation failed at configure
Tuxizm created
Hello
I don't know way to compile my input module for Oracle - need some guidance for it. I guess autogen.sh (using autotools) is designated to generate makefiles etc and configure.
I made Makefile.am based on im_dbi version:
if HAVE_LIBOCI
im_oci_LTLIBRARIES = im_oci.la
im_oci_la_SOURCES = im_oci.c im_oci.h
im_oci_la_CFLAGS = -rdynamic -D_XOPEN_SOURCE -std=c99
im_oci_la_LDFLAGS = -module -no-undefined -avoid-version -ldl
im_oci_la_LIBADD = $(LIBOCI) $(LIBNX)
im_ocidir = $(NX_MODULEDIR)/input
endif
When I call configure or autogen.sh it gives error:
./configure: line 21597: syntax error: unexpected end of file
but last lines are:
21590: #echo ----------------------------------------------------------
21591: #echo Shared: ${BUILD_SHARED_LIBS}
21592: #echo ----------------------------------------------------------
21593: echo
21594: echo "${PACKAGE}-${NXLOG_VERSION_STRING} configured successfully"
21595: echo "type \`${MAKE-make}' and \`${MAKE-make} install'"
21596: echo
21597: echo
21598:
I don't see error here. I just placed my module in modules/input folder Should I generate some files with autotools?
Tuxizm created