openssl编译过程遇到的问题
export OPENSSL_ROOT=/home/zhoulei/bin/
- 运行依赖
export LD_LIBRARY_PATH=OPENSSL_ROOT/lib:LD_LIBRARY_PATH - 开发依赖
export PATH=OPENSSL_ROOT/bin:PATH
export CPATH=OPENSSL_ROOT/include:CPATH
export LIBRARY_PATH=OPENSSL_ROOT/lib:LIBRARY_PATH
export PKG_CONFIG_PATH=OPENSSL_ROOT/lib/pkgconfig:PKG_CONFIG_PATH # 需要同步修改pkgconfig目录下libcrypto.pc、libssl.pc、openssl.pc文件中的prefix路径,指定为当前的库路径