. 移植openssl

1.解压openssl-1.0.1e.

2.修改makefile

#vim makefile

CC = $(CROSS_COMPILE)gcc
AR =$(CROSS_COMPILE)ar  $(ARFLAGS)r
RANLIB=$(CROSS_COMPILE)ranlib

3.执行make make install命令进行编译和安装

#make

#make install

Note;

make install时要切换到root权限下,否则会报权限错误

4.执行完上述命令后,在 /usr/local/ssl目录下安装了ssl

/usr/lib 下得libssl.so.1.0.0libcrypto.so.1.0.0拷贝到到<ramdisk>/usr/lib目录下