linux如何卸载openssl
1、 首先从httpd开始,先卸载在安装倒是比较容易,不过后来像添加ssl功能,发现编译的时候需要用openssl的安装目录,本人比较愚笨,一顿好找也没有找到,于是就想把openssl也以源代码方式安装。先卸载,此时出现问题,系统好多东西依赖于openssl的库,我查了好多资料也没找到什么办法,于是我最后一狠心,用rpm -e --nodeps给卸载了,然后手动安装了openssl,然后重新启动,这下坏了,好多服务都起不来了,smb,ssh等等,图形模式也起不来了,我欲哭无泪。

3、 安装zlibHome :http://www.gzip.org/zlib/Package(linux source) :http://www.gzip.org/zlib/Our ConfigurationInstall to : /usr/localModule types : dynamically and staticly loaded modules, *.so and *.aBuild Instructionszlib library files are placed into /usr/local/lib and zlib header files are placed into /usr/local/include, by default.Build static libraries

5、libz.alibz.so -> libz.so.1.2.1libz.so.1 -> libz.so.1.2.1libz.so.1.2.1/usr/local/include should now contain...zconf.hzlib.hzutil.h[Optional] Instructions for non-standard placement of zlibCreate the directory that will contain zlib.../zlib-1.2.1]# mkdir /usr/local/zlibFollow the given procedure above, except.../zlib-1.2.1]# ./configure --prefix=/usr/local/zlibUpdate the Run-Time Linker/etc/ld.so.cache will need to be updated with the new zlib shared lib: libz.so.1.2.1For standard zlib installation...Add/usr/local/libto /etc/ld.so.conf, if specified path is not present/etc]# ldconfigIf zlib was installed with a prefix...Add/usr/local/zlib/libto /etc/ld.so.conf/etc]# ldconfig

8、Update the Run-time Linkerld.so.cache will need to be updated with the location of the new OpenSSL shared libs: libcrypto.so.0.9.7 and libssl.so.0.9.7Sometimes it is sufficient to just add these two files to /lib, but we recommend you follow these instructions instead.Edit /etc/ld.so.confAdd/usr/local/ssl/libto the bottom....]# ldconfigUpdate the PATH
