Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've installed PlayOnLinux with the following commands:

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

and then I've installed Safari from inside PlayOnLinux. It is correctly installed, but when I try to launch it I get the next errors:

[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)

Any idea of what I am missing?

share|improve this question
    
Did you enable multi-arch support? You can check this with dpkg --print-foreign-architectures –  byrmgcl Jan 23 at 12:01
    
@byrmgcl - i386 is the only output. How can enable multi-arch support? –  Manolo Jan 23 at 12:09
    
With this command sudo dpkg --add-architecture amd64 after that run sudo apt-get update –  byrmgcl Jan 23 at 12:12
    
@byrmgcl - Thanks, but same error... –  Manolo Jan 23 at 12:17
    
Run sudo apt-get -f install maybe you can fix dependendent packages... –  byrmgcl Jan 23 at 12:18

2 Answers 2

up vote 1 down vote accepted

First, you must enable multi-arch support which architecture if you can't use:

sudo dpkg --add-architecture amd64

or

sudo dpkg --add-architecture i386


Because it might use wine64 or wine:i386

Second, run:

sudo apt-get update

and

sudo apt-get -f install


If it hasn't been fixed dependencies then you can manually install wine64 or wine:i386 :

sudo apt-get install wine64

or

sudo apt-get install wine:i386


The issue still hasn't fixed then remove playonlinux and remove repository playonlinux.
After install playonlinux from your distribution repositories then all dependencies will install.

share|improve this answer

Update playonlinux from this website.

You might have upgraded your Ubuntu to the latest version and have playonlinux installed in the old version.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.