Wine

使用 PlayOnLinux 啟動 Safari 時出錯

  • April 27, 2016

我已經使用以下命令安裝了 PlayOnLinux:

wget -q -O- http://deb.playonlinux.com/public.gpg | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update

# useful dependencies
sudo apt-get install -y curl p7zip-full

# install playonlinux

sudo apt-get install -y playonlinux

然後我從 PlayOnLinux 中安裝了 Safari。它已正確安裝,但是當我嘗試啟動它時,出現下一個錯誤:

[01/23/14 12:15:35] - Running wine-1.4.1 Safari.exe (Working directory : /home/manolo/.PlayOnLinux/wineprefix/Safari/drive_c/Program Files (x86)/Safari)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: no se puede abrir el archivo del objeto compartido: No exApplication tried to create a window, but no driver could be loaded.
Unknown error (127).
[01/23/14 12:15:47] - Running wine-1.4.1 Safari.exe (Working directory : /home/manolo/.PlayOnLinux/wineprefix/Safari/drive_c/Program Files (x86)/Safari)
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: clase ELF errónea: ELFCLASS64
fixme:process:SetProcessDEPPolicy (1): stub
fixme:shell:SetCurrentProcessExplicitAppUserModelID L"Apple.Safari": stub
fixme:advapi:GetCurrentHwProfileA (0x32f9ec) semi-stub
fixme:dwmapi:DwmIsCompositionEnabled 0x32fb48
fixme:win:DisableProcessWindowsGhosting : stub
fixme:service:EnumServicesStatusW resume handle not supported
fixme:service:EnumServicesStatusW resume handle not supported
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: no se puede abrir el archivo del objeto compartido: No exApplication tried to create a window, but no driver could be loaded.
Unknown error (127).
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
err:ole:RegisterDragDrop invalid hwnd (nil)
err:ole:RegisterDragDrop invalid hwnd (nil)
err:ole:RegisterDragDrop invalid hwnd (nil)
err:ole:RegisterDragDrop invalid hwnd (nil)
err:ole:RegisterDragDrop invalid hwnd (nil)

知道我缺少什麼嗎?

首先,你必須啟用多架構支持,如果你不能使用:

sudo dpkg --add-architecture amd64

或者

sudo dpkg --add-architecture i386

因為它可能使用 wine64 或 wine:i386

其次,執行:

sudo apt-get update

sudo apt-get -f install

如果尚未修復依賴項,則可以手動安裝 wine64 或 wine:i386 :

sudo apt-get install wine64

或者

sudo apt-get install wine:i386

該問題仍未解決,然後刪除 playonlinux 並刪除儲存庫 playonlinux。

從您的分發儲存庫安裝 playonlinux 後,所有依賴項都將安裝。

引用自:https://unix.stackexchange.com/questions/110571