Skip to content

Instantly share code, notes, and snippets.

@shangmin1990
Last active August 29, 2015 14:02
Show Gist options
  • Save shangmin1990/e2ab8e7dd76071be5ff1 to your computer and use it in GitHub Desktop.
Save shangmin1990/e2ab8e7dd76071be5ff1 to your computer and use it in GitHub Desktop.
free gate 自由门代理上网
下载 free gate
下载wine
sudo apt-get install wine
如何解决UBUNTU下用WINE报 “CAN’T FIND MFC42.DLL….BALABALA”问题
错误原因:老winpe程序使用了mfc相关动态链接库,而新版的wine中不含此库,win用户可以通过安装 Microsoft Visual C++ Redistributable Package获取相关库
ubuntu下获取此库方法:
下载 winetricks:
wget http://www.kegel.com/wine/winetricks
确保有执行权限:
chmod +x winetricks
(可选:将文件放在如 /usr/local/bin 的系统文件夹下)
安装 cabextract:
apt-get install cabextract
执行
winetricks mfc42
wine freegate.exe > /dev/null 2>&1 &
/dev/null ,从名称上可以很显然看出是一个空文件(写入到/dev/null时全部丢失,读取/dev/null时自己返回EOF)
2>&1 将标准信息流 与 标准错误信息流合并输出 & 在后台执行。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment