root@tserver4 [/usr/local/apache2/conf]# /usr/local/apache2/bin/httpd -t
httpd: Syntax error on line 126 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: libssl.so.1.0.0: cannot open shared object file: No such file or directory
解決辦法:apache
ln -s /usr/local/openssl/lib/libssl.so.1.0.0 /usr/lib64/spa
root@tserver4 [/usr/local/apache2/conf]# /usr/local/apache2/bin/httpd -t
httpd: Syntax error on line 126 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: libcrypto.so.1.0.0: cannot open shared object file: No such file or directoryserver
解決辦法:ssl
ln -s /usr/local/openssl/lib/libcrypto.so.1.0.0 /usr/lib64/openssl
兩個動態庫:libssl.so.1.0.0和libcrypto.so.1.0.0module
默認狀況下系統首先去/usr/lib64下邊去找這兩個動態庫;
object