我试图在32位MSYS2控制台上运行MSYS2。它说它不能加载libtasn1-6.dll。有人能找出原因和解决办法吗?
$ pacman -S mingw-w64-i686-gnutls
warning: mingw-w64-i686-gnutls-3.6.8-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-i686-gnutls-3.6.8-2
Total Installed Size: 11.73 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [#####################] 100%
(1/1) checking package integrity [#####################] 100%
(1/1) loading package files [#####################] 100%
(1/1) checking for file conflicts [#####################] 100%
(1/1) checking available disk space [#####################] 100%
:: Processing package changes...
(1/1) reinstalling mingw-w64-i686-gnutls [#####################] 100%$ pacman -S mingw-w64-i686-libtasn1
warning: mingw-w64-i686-libtasn1-4.14-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-i686-libtasn1-4.14-1
Total Installed Size: 0.48 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#####################] 100%
(1/1) checking package integrity [#####################] 100%
(1/1) loading package files [#####################] 100%
(1/1) checking for file conflicts [#####################] 100%
(1/1) checking available disk space [#####################] 100%
:: Processing package changes...
(1/1) reinstalling mingw-w64-i686-libtasn1 [#####################] 100%$ p11tool --help
C:/msys32/mingw32/bin/p11tool.exe: error while loading shared libraries: libtasn1-6.dll: cannot open shared object file: No such file or directory$ whereis libtasn1-6.dll
libtasn1-6: /mingw32/bin/libtasn1-6.dll发布于 2019-07-30 21:07:28
我学到了一种告诉MinGW应用程序实际丢失文件的技术。在CMD上运行命令可以显示准确的错误消息。
对我来说,它说“程序无法启动,因为”libhogwed-5.dll“从您的计算机中丢失。”
我的电脑有libhogwed-4.dll,安装libhogweed无法解决它。然后我在googled上搜索并发现了mingw-w64-x86_64-nettle包含“libhogwed-5.dll”。因为它是64位,所以我将x86-64作为32位的i686。
因此,解决办法是;
$ pacman -S mingw-w64-i686-nettle我认为这是明明威-W64-i 686-gnutls的特定版本中的一个问题,稍后将进行修复。
https://stackoverflow.com/questions/57279759
复制相似问题