haproxy-1.7.7 源码安装

安装一下依赖

yum install openssl-devel openssl

 编译安装

make TARGET=linux2628 USE_OPENSSL=1 ADDLIB=-lz
 make install PREFIX=/apps/haproxy-1.7.7

 查看动态库:

]# ldd haproxy 
	linux-vdso.so.1 =>  (0x00007ffdf5b8b000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fdf8634e000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fdf8614a000)
	libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fdf85edd000)
	libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fdf85af8000)
	libz.so.1 => /lib64/libz.so.1 (0x00007fdf858e2000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fdf8554d000)
	libfreebl3.so => /lib64/libfreebl3.so (0x00007fdf8534a000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fdf8658b000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fdf85106000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fdf84e1e000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fdf84c1a000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fdf849ee000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fdf847e2000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fdf845df000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdf843c5000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdf841a7000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fdf83f88000)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值