下载地址:
RPM resource lzo (rpmfind.net)
首先下载lzo-2.10,解压后进入目录
./configure CC=(PLATFORM)-linux --enable-shared --disable-static --prefix=$(INSTALLDIR)/lzo/usr
make
make install
openvpn还依赖openssl,需要下载编译,此处省略
然后下载openvpn-2.5.3,解压后进入目录
1、./configure --host=arm-linux -enable-lzo --prefix=$PWD/install LZO_CFLAGS="-I/home/gg/snap/openvpn/lib/openvpn-2.5.3/install/include -L/home/gg/snap/openvpn/lib/openvpn-2.5.3/install/lib" LZO_LIBS="-llzo2"
使用过程注意:
export LD_LIBRARY_PATH=/opt/gtk/lib:LD_LIBRARY_PATH
网友评论