【wine】Ubuntu 22.04 x86_64 源码编译 wine 9.1 编译版本不能启动微信,apt安装版本可以使用微信

news2024/11/23 13:46:46
git clone https://gitee.com/winehq/wine.git
git checkout wine-9.1

x86_64

注意(没有--enable-win32选项!)

sudo apt install build-essential git libtool m4 autoconf automake pkg-config libc6-dev-i386 zlib1g-dev libncurses5-dev libssl-dev libpulse-dev libasound2-dev

sudo ln -s -v asm-generic asm
./configure --enable-win64 
make -j6

sudo make install

没有wine32,只有wine64

测试启动notepad

先删除~/.wine 目录(防止以前的版本冲突)

启动了记事本,但是菜单中文乱码(应该需要安装字体,还不清楚方法)

测试安装WeChatSetup.exe

yeqiang@yeqiang-MS-7B23:~/Downloads/src/wine$ /usr/local/bin/wine64 /home/yeqiang/Downloads/WeChatSetup.exe 
0074:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0074:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:environ:init_peb starting L"Z:\\home\\yeqiang\\Downloads\\WeChatSetup.exe" in experimental wow64 mode
wine: failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
无法启动程序,或者没有为指定文件关联应用程序。
ShellExecuteEx 失败: 内部错误。

cp WeChatSetup.exe ~/.wine/drive_c/

从win10虚拟机中靠背syswow64下的文件到wine虚拟空间

故障依旧。

windows10的dll不行?

测试源中的wine启动WeChatSetup.exe

apt install wine

yeqiang@yeqiang-MS-7B23:~$ sudo apt install wine wine32 wine64
[sudo] yeqiang 的密码: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成                 
下列软件包是自动安装的并且现在不需要了:
  dctrl-tools dkms golang-1.18-go golang-1.18-src golang-src libnvidia-container-tools libnvidia-container1
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
  avahi-daemon avahi-utils cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils
  cups-server-common fonts-wine glib-networking:i386 gstreamer1.0-plugins-base gstreamer1.0-plugins-base:i386
  gstreamer1.0-plugins-good:i386 gstreamer1.0-x gstreamer1.0-x:i386 libaa1:i386 libapparmor1 libapparmor1:i386
  libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libavahi-client3 libavahi-client3:i386 libavahi-common-data
  libavahi-common-data:i386 libavahi-common3 libavahi-common3:i386 libavahi-core7 libavahi-glib1 libavahi-ui-gtk3-0
  libavc1394-0:i386 libblkid1:i386 libbrotli1:i386 libbz2-1.0:i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386
  libcap2 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcups2 libcups2:i386 libcupsimage2
  libcurl4:i386 libdatrie1:i386 libdb5.3:i386 libdbus-1-3:i386 libdecor-0-0:i386 libdecor-0-plugin-1-cairo:i386
  libdeflate0:i386 libdv4:i386 libdw1:i386 libexif12:i386 libfaudio0 libfaudio0:i386 libflac8 libflac8:i386
  libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcrypt20:i386 libgd3:i386
  libgdk-pixbuf-2.0-0:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls-dane0 libgnutls30 libgnutls30:i386
  libgpg-error-l10n libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386
  libgsm1:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer-plugins-good1.0-0:i386 libgstreamer1.0-0:i386
  libgudev-1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386 libiec61883-0:i386 libjack-jackd2-0:i386 libjbig0:i386
  libjpeg-turbo8:i386 libjpeg8:i386 liblcms2-2:i386 libldap-2.5-0 libldap-2.5-0:i386 libltdl7:i386 liblz4-1:i386
  libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14
  libnghttp2-14:i386 libnghttp2-dev libnss-mymachines libnss-systemd libodbc2:i386 libogg0:i386 libopenal1:i386
  libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpam-systemd libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpcre2-8-0:i386 libpcre3:i386 libpixman-1-0:i386
  libpng16-16:i386 libproxy1v5:i386 libpsl5:i386 libpulse-mainloop-glib0 libpulse0 libpulse0:i386 libpulsedsp
  libraw1394-11:i386 librtmp1:i386 libsamplerate0:i386 libsasl2-2 libsasl2-2:i386 libsasl2-modules
  libsasl2-modules:i386 libsasl2-modules-db libsasl2-modules-db:i386 libsasl2-modules-gssapi-mit libsdl2-2.0-0:i386
  libselinux1:i386 libshout3:i386 libslang2:i386 libsndfile1 libsndfile1:i386 libsndio7.0:i386 libsoup2.4-1:i386
  libspeex1:i386 libsqlite3-0 libsqlite3-0:i386 libsqlite3-dev libssh-4 libssh-4:i386 libstb0 libstb0:i386
  libsystemd-dev libsystemd0 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386 libtasn1-6:i386 libthai0:i386
  libtheora0:i386 libtiff-dev libtiff5 libtiff5:i386 libtiffxx5 libtwolame0:i386 libudev-dev libudev1 libudev1:i386
  libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvkd3d1
  libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx7 libvpx7:i386 libvulkan1:i386 libwavpack1:i386
  libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386 libwebp7:i386 libwine
  libwine:i386 libxcb-render0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 libxinerama1:i386
  libxkbcommon0:i386 libxpm4 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386
  libz-mingw-w64 mesa-vulkan-drivers mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 pulseaudio
  pulseaudio-module-bluetooth pulseaudio-utils systemd systemd-container systemd-oomd systemd-sysv systemd-timesyncd
  udev
建议安装:
  cups-pdf smbclient inetutils-inetd | inet-superserver gvfs:i386 libdv-bin:i386 oss-compat:i386 rng-tools:i386
  libgd-tools:i386 gphoto2:i386 gpm:i386 libvisual-0.4-plugins:i386 gstreamer1.0-tools:i386 jackd2:i386 libnghttp2-doc
  odbc-postgresql:i386 tdsodbc:i386 libportaudio2:i386 opus-tools:i386 libraw1394-doc:i386 libsasl2-modules-ldap
  libsasl2-modules-otp libsasl2-modules-sql libsasl2-modules-gssapi-mit:i386 | libsasl2-modules-gssapi-heimdal:i386
  libsasl2-modules-ldap:i386 libsasl2-modules-otp:i386 libsasl2-modules-sql:i386 sndiod:i386 speex:i386 sqlite3-doc
  gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav:i386
  gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly:i386 opencl-icd:i386 pavumeter pavucontrol paprefs
  ubuntu-sounds libtss2-rc0 q4wine winbind winetricks playonlinux wine-binfmt dosbox exe-thumbnailer | kio-extras
  wine32-preloader:i386 wine64-preloader
推荐安装:
  libvkd3d-shader1 libvkd3d-shader1:i386
下列【新】软件包将被安装:
  fonts-wine glib-networking:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386
  libaa1:i386 libapparmor1:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386 libblkid1:i386 libbrotli1:i386 libbz2-1.0:i386
  libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386
  libcups2:i386 libcurl4:i386 libdatrie1:i386 libdb5.3:i386 libdbus-1-3:i386 libdecor-0-0:i386
  libdecor-0-plugin-1-cairo:i386 libdeflate0:i386 libdv4:i386 libdw1:i386 libexif12:i386 libfaudio0 libfaudio0:i386
  libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcrypt20:i386 libgd3:i386
  libgdk-pixbuf-2.0-0:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgpg-error-l10n libgpg-error0:i386
  libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer-plugins-good1.0-0:i386 libgstreamer1.0-0:i386 libgudev-1.0-0:i386
  libharfbuzz0b:i386 libhogweed6:i386 libiec61883-0:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg-turbo8:i386
  libjpeg8:i386 liblcms2-2:i386 libldap-2.5-0:i386 libltdl7:i386 liblz4-1:i386 libmount1:i386 libmp3lame0:i386
  libmpg123-0:i386 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14:i386 libodbc2:i386 libogg0:i386
  libopenal1:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpcre2-8-0:i386 libpcre3:i386 libpixman-1-0:i386
  libpng16-16:i386 libproxy1v5:i386 libpsl5:i386 libpulse0:i386 libraw1394-11:i386 librtmp1:i386 libsamplerate0:i386
  libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libselinux1:i386 libshout3:i386
  libslang2:i386 libsndfile1:i386 libsndio7.0:i386 libsoup2.4-1:i386 libspeex1:i386 libsqlite3-0:i386 libssh-4:i386
  libstb0 libstb0:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386 libtasn1-6:i386 libthai0:i386
  libtheora0:i386 libtiff5:i386 libtwolame0:i386 libudev1:i386 libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386
  libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386
  libvpx7:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386
  libwayland-server0:i386 libwebp7:i386 libwine libwine:i386 libxcb-render0:i386 libxcomposite1:i386 libxcursor1:i386
  libxdamage1:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
  libxslt1.1:i386 libxss1:i386 libxv1:i386 libz-mingw-w64 mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 wine
  wine32:i386 wine64
下列软件包将被升级:
  avahi-daemon avahi-utils cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils
  cups-server-common gstreamer1.0-plugins-base gstreamer1.0-x libapparmor1 libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libavahi-glib1 libavahi-ui-gtk3-0 libcap2 libcups2 libcupsimage2 libflac8
  libgnutls-dane0 libgnutls30 libldap-2.5-0 libnghttp2-14 libnghttp2-dev libnss-mymachines libnss-systemd
  libpam-systemd libpulse-mainloop-glib0 libpulse0 libpulsedsp libsasl2-2 libsasl2-modules libsasl2-modules-db
  libsasl2-modules-gssapi-mit libsndfile1 libsqlite3-0 libsqlite3-dev libssh-4 libsystemd-dev libsystemd0 libtiff-dev
  libtiff5 libtiffxx5 libudev-dev libudev1 libvpx7 libxpm4 mesa-vulkan-drivers pulseaudio pulseaudio-module-bluetooth
  pulseaudio-utils systemd systemd-container systemd-oomd systemd-sysv systemd-timesyncd udev
升级了 61 个软件包,新安装了 162 个软件包,要卸载 0 个软件包,有 407 个软件包未被升级。
需要下载 12.8 MB/240 MB 的归档。
解压缩后会消耗 1,231 MB 的额外空间。
您希望继续执行吗? [Y/n] y

启动

rm ~/.wine -rf
/usr/bin/wine64 /home/yeqiang/Downloads/WeChatSetup.exe

自带的版本,可以启动安装程序,看到安装界面!新版本问题?

可以用!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1425030.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

人工智能时代:AI提示工程的奥秘 —— 驾驭大语言模型的秘密武器

文章目录 一、引言二、提示工程与大语言模型三、大语言模型的应用实践四、策略与技巧五、结语《AI提示工程实战:从零开始利用提示工程学习应用大语言模型》亮点内容简介作者简介目录获取方式 一、引言 随着人工智能技术的飞速发展,大语言模型作为一种新…

经典左旋,指针面试题

今天给大家带来几道面试题! 实现一个函数,可以左旋字符串中的k个字符。 例如: ABCD左旋一个字符得到BCDA ABCD左旋两个字符得到CDAB 我们可以先自己自行思考,下面是参考答案: 方法一: #define _CRT_SEC…

MongoDB安装以及卸载,通过Navicat 15 for MongoDB连接MongoDB

查询id: docker ps [rootlocalhost ~]# docker stop c7a8c4ac9346 c7a8c4ac9346 [rootlocalhost ~]# docker rm c7a8c4ac9346 c7a8c4ac9346 [rootlocalhost ~]# docker rmi mongo sudo docker pull mongo:4.4 sudo docker images 卸载旧的 sudo docker stop mong…

【脑电信号处理与特征提取】P7-涂毅恒:运用机器学习技术和脑电进行大脑解码

运用机器学习技术和脑电进行大脑解码 科学研究中的大脑解码 比如2019年在Nature上一篇文章,来自UCSF的Chang院士的课题组,利用大脑活动解码语言,帮助一些患者恢复语言功能。 大脑解码的重要步骤 大脑解码最重要的两步就是信号采集和信号…

【Linux】Daemon守护进程详解

创作不易&#xff0c;本篇文章如果帮助到了你&#xff0c;还请点赞 关注支持一下♡>&#x16966;<)!! 主页专栏有更多知识&#xff0c;如有疑问欢迎大家指正讨论&#xff0c;共同进步&#xff01; &#x1f525;Linux系列专栏&#xff1a;Linux基础 &#x1f525; 给大家…

JAVASE进阶:String常量池内存原理分析、字符串输入源码分析

&#x1f468;‍&#x1f393;作者简介&#xff1a;一位大四、研0学生&#xff0c;正在努力准备大四暑假的实习 &#x1f30c;上期文章&#xff1a;JAVASE进阶&#xff1a;内存原理剖析&#xff08;1&#xff09;——数组、方法、对象、this关键字的内存原理 &#x1f4da;订阅…

嵌入式人工智能/深度学习/神经网络导论

加我微信hezkz17进入嵌入式人工智能技术研究开发交流答疑群 1 嵌入式人工智能&#xff0c;嵌入式深度学习含义&#xff1f; &#xfffc; 嵌入式人工智能&#xff08;Embedded Artificial Intelligence&#xff09;是指将人工智能技术应用于嵌入式系统中&#xff0c;使其具备…

计算机网络_1.4 计算机网络的定义和分类

1.4 计算机网络的定义和分类 一、计算机网络的定义&#xff08;无唯一定义&#xff09;二、计算机网络的分类&#xff08;从不同角度分类&#xff09;1、交换方式2、使用者3、传输介质4、覆盖范围5、拓扑结构 笔记来源&#xff1a; B站 《深入浅出计算机网络》课程 一、计算机…

11张宝藏GIS开发思维导图,重点清晰,建议带走!

在GIS开发过程中&#xff0c;涉及大量的数据、地图、工具和技术。通过思维导图&#xff0c;我们可以将这些复杂的元素进行可视化&#xff0c;更好地理解和整理思路&#xff0c;提高开发效率。 同时思维导图利用了色彩、线条、关键词、图像等元素&#xff0c;可以加强记忆的可能…

Android平台如何实现RTSP转GB28181

为什么要做GB28181设备接入侧&#xff1f; 实际上&#xff0c;在做Android平台GB28181设备接入模块的时候&#xff0c;我们已经有了非常好的技术积累&#xff0c;比如RTMP推送、轻量级RTSP服务、一对一互动模块、业内几乎最好的RTMP|RTSP低延迟播放器。 Android平台GB28181接…

好书推荐丨保姆级Midjourney教程,这本写给大家看的设计书闭眼入!

文章目录 写在前面好书推荐Part.1Part.2Part.3 粉丝福利写在后面 写在前面 在AI绘画界&#xff0c;有每日经典一问&#xff1a;“你今天用Midjourney画了啥&#xff1f;”晒作品成为重头戏。 小红书上关于Midjourney出的图片点赞数惊人。 reddit上的恶搞幽默图片热度居高不下…

C#,幸运数字(Lucky Number)的算法与源代码

Lucky Number不是蔡依林的歌曲名字哦。 给你的NV朋友选一个幸运数字吧。 1 幸运数字是怎么产生的&#xff1f; 幸运数是整数的子集。与其进行大量理论研究&#xff0c;不如让我们来看看得出幸运数字的过程&#xff0c; 以整数集为例&#xff1a; 1,2,3,4,5,6,7,8,9,10,11,…

NAT 机制的工作流

NAT机制&#xff08;网络地址映射&#xff09;先把IP地址分成两个大类 1. 私网IP / 局域网IP 2. 公网IP / 广域网IP 要求公网的设备&#xff0c;对应的公网IP&#xff0c;都必须是唯一的&#xff0c;但是私网上/局域网上的设备&#xff0c;使用私网IP&#xff0c;只要保证局域网…

Linux 网络配置及基础服务

目录 一. 查看网络配置信息的相关命令 1.1 ifconfig 命令 作用 1&#xff1a; 作用 2&#xff1a; 拓展&#xff1a; 1.2 ip/ethtool命令 1.3 hostname命令 1.4 route 命令 1.5 netstat 命令 1.6 ss&#xff08;socket statistics&#xff09;命令 1.7 ping 命令 …

vscode 插件 Tailwind CSS IntelliSense 解决 class 提示问题

问题描述&#xff1a; 如下写js字符串是没有class智能提示的&#xff1a; const clsName bg-[#123456] text-[#654321] return <div className{clsName}></div>解决方案&#xff1a; 安装 clsx 依赖 pnpm i clsx设置 vscode 的 settings.json {"tailwin…

【C++】开源:Windows图形库EasyX配置与使用

&#x1f60f;★,:.☆(&#xffe3;▽&#xffe3;)/$:.★ &#x1f60f; 这篇文章主要介绍Windows图形库EasyX配置与使用。 无专精则不能成&#xff0c;无涉猎则不能通。——梁启超 欢迎来到我的博客&#xff0c;一起学习&#xff0c;共同进步。 喜欢的朋友可以关注一下&#…

RabbitMQ 死信队列应用

1. 概念 死信队列&#xff08;Dead Letter Queue&#xff09;是在消息队列系统中的一种特殊队列&#xff0c;用于存储无法被消费的消息。消息可能会因为多种原因变成“死信”&#xff0c;例如消息过期、消息被拒绝、消息队列长度超过限制等。当消息变成“死信”时&#xff0c;…

对付勒索病毒,复杂的往往无法落地

一道道复杂门墙防护安全&#xff0c; 还是一个精密的锁更安全&#xff1f; &#x1f447;&#x1f447;&#x1f447; 在网络数据安全问题频发的当下&#xff0c;除了常规的备份、灾备措施以外&#xff0c;企业是否有做好应对最坏情况的准备&#xff1f;一旦病毒绕过了一道道…

极限的运算法则【高数笔记】

【定理】 1. 无穷小量 * 有界 无穷小量 简单理解为&#xff1a;0 乘以任何数都等于 0 &#xff0c;因为常数 0 是无穷小量 2. 设 lim f&#xff08;x&#xff09; a , lim g (x) b 加减&#xff1a;lim[f(x) g(x) ] lim f(x) g(x) a b 乘&#xff1a;lim[f(x)…

[Visual Studio] vs 2022中如何创建空白的解决方案

在Visual Studio 2022中创建一个空白的解决方案非常简单。请按照以下步骤操作&#xff1a; 打开Visual Studio。 在启动页面上&#xff0c;选择“创建新的项目”。 在“创建新项目”的对话框中&#xff0c;搜索“空白”。 在中间搜索结果中&#xff0c;选择“空白解决方案”…