Liunx command installation
Run the liunx command window in the openedssl decompressed folder to execute the following three commands:
1 Configuration:
./config -fPIC shared --prefix=/usr/local/openssl --openssldir=/usr/local/openssl /ssl
where prefix is the installation directory, openssldir is the configuration file directory, and shared is used to generate a dynamic link library (ie. so library). -fPIC: position independent code. –prefix=: The path generally chooses /usr/local/openssl
2 Compile:
make
3 Install:
make install
After openssl is installed, use the installed cmake to configure the workflow compilation environment:
version sogou workflow version 1.0.2l
cmakegui can choose the openssl path in the interface, including the following three path settings:
openssl_crypto_library, (/usr/local/openssl/lib/libcrypto.a)
openssl_include_dir, (/usr/local/openssl/include)
openssl_ssl_library, (/usr/ local/openssl/lib/libssl.a)
After executing configure and generate on the cmake visual interface, go to the workflow directory to execute the liunx command make, and wait for the compilation to complete.