原 Ubuntu安装使用EasyConnect工具
Tags: 原创LinuxUbuntuEasyConnect
安装
下载:https://vpn2.shu.edu.cn/com/installClient_en.html
https://vpn2.shu.edu.cn/portal/#!/login
1 2 3 4 5 6 7 8 9 10 11 12 13 | wget http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_767/EasyConnect_x64.deb sudo dpkg -i EasyConnect_x64_7_6_7_3.deb systemctl status EasyMonitor ln -s /usr/share/sangfor/EasyConnect/EasyConnect /usr/bin/EasyConnect -- 命令行启动 /usr/share/sangfor/EasyConnect/EasyConnect dpkg -L easyconnect ldd EasyConnect | grep pango |
报错segmentation fault (core dump)
这个问题在24.04、22.04,和20.04 上都存在。
根据网上说明讲libpango*的依赖降级,通过拷贝库文件的方式,不要直接覆盖系统上的libpango版本,这样会影响其他gtk软件(如果已经覆盖了可以通过运行 sudo apt --fix-broken install 来修复)
1 2 3 4 5 | root@lhrubuntu2204:/usr/share/sangfor/EasyConnect# ldd EasyConnect | grep pango libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f3a3b9f7000) libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f3a39b5f000) libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f3a38ea2000) root@lhrubuntu2204:/usr/share/sangfor/EasyConnect# |
因为easyconnect 使用第三方的lib引起的 ,需要作的就是去下载对应的低版本文件,去覆盖高依赖版本 注意有三个依赖包需要下载:
1 2 3 | /usr/share/sangfor/EasyConnect/libpango-1.0.so.0 /usr/share/sangfor/EasyConnect/libpangocairo-1.0.so.0 /usr/share/sangfor/EasyConnect/libpangoft2-1.0.so.0 |
下载地址:http://kr.archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/
1 2 3 4 5 6 7 | libpangocairo-1.0-0_1.40.14-1_amd64.deb libpangoft2-1.0-0_1.40.14-1_amd64.deb libpango-1.0-0_1.40.14-1_amd64.deb wget http://kr.archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangocairo-1.0-0_1.40.14-1_amd64.deb wget http://kr.archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangoft2-1.0-0_1.40.14-1_amd64.deb wget http://kr.archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpango-1.0-0_1.40.14-1_amd64.deb |
下载完成之后对这三个文件进行解压缩,提取出 data.tra.xz -> usr -> lib -> x86_64-linux-gnu 下面的所有文件。
将提取出来的3个文件,复制到EasyConnect的安装目录下
1 2 3 4 5 6 | cd /usr/share/sangfor/EasyConnect/ root@lhrubuntu2204:/usr/share/sangfor/EasyConnect# ll libpango* -rw-r--r-- 1 root root 313264 Dec 21 2017 libpango-1.0.so.0.4000.14 -rw-r--r-- 1 root root 51096 Dec 21 2017 libpangocairo-1.0.so.0.4000.14 -rw-r--r-- 1 root root 87904 Dec 21 2017 libpangoft2-1.0.so.0.4000.14 |
又报错: