Closed nutinshell closed 12 years ago
You can specify the location of the library with the following variables:
OPENSSL_CFLAGS
C compiler flags for OPENSSL, overriding pkg-config
OPENSSL_LIBS
linker flags for OPENSSL, overriding pkg-config
LIBEVENT_OPENSSL_CFLAGS
C compiler flags for LIBEVENT_OPENSSL, overriding pkg-config
LIBEVENT_OPENSSL_LIBS
linker flags for LIBEVENT_OPENSSL, overriding pkg-config
For example, if your openssl libs exist in /opt, then you can specify like this:
./configure OPENSSL_CFLAGS=-I/opt/include OPENSSL_LIBS="-L/opt/lib -lssl -lcrypto"
Got it. I missed -lssl -lcrypto :|
I got libevent-openssl and openssl 1.0.1 in other dirs, how to do configure, it always failed to build.