The forum

Error when trying to play prince of eprsia

Author Replies
nikosgr Sunday 7 September 2014 at 23:16
nikosgrAnonymous

Just installed wine & playonlinux in Arch and download from withinit prince of persia(the very first one)

here is the error log file


[09/08/14 00:09:55] - Running wine-1.4-dos_support_0.5 --version (Working directory : /usr/share/playonlinux/python)
wine-1.4

PlayOnLinux logfile
-------------------
Date: 09/08/14 00:09:55
Warning! PlayOnLinux is using a modified wine version (1.4-dos_support_0.5).
    Do not file bugs, AppDB test reports, or ask for help on the WineHQ website for any applications or games that are run using this version.
    
> PlayOnLinux Version
  4.2.4
> uname -a
  Linux dell 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.4
> POL_WINEVERSION
  1.4-dos_support_0.5
> WINEPREFIX
  /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
> Distribution
  
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
      GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
> OpenGL libs (Direct rendering testing)
  32bits direct rendering is enabled
  64bits direct rendering is enabled

[09/08/14 00:10:02] - Running wine-1.4-dos_support_0.5 cmd /c echo %ProgramFiles% (Working directory : /usr/share/playonlinux/python)
process 28601: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
  D-Bus not built with -rdynamic so unable to print a backtrace
wine: Assertion failed at address 0xf771dda0 (thread 001c), starting debugger...
C:\Program Files
[09/08/14 00:10:14] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wineprefix/PrinceOfPersia1/drive_c/princeofpersia)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
[PlayOnLinux] Detecting program directory to run: C:\princeofpersia
cat: /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1/drive_c/autoexec.bat: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/usr/share/playonlinux/lib/wine.lib: γραμμή 407: xdpyinfo: εντολή δεν βρέθηκε
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 
DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
[09/08/14 00:10:25] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wineprefix/PrinceOfPersia1/drive_c/princeofpersia)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
[PlayOnLinux] Detecting program directory to run: C:\princeofpersia
cat: /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1/drive_c/autoexec.bat: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/usr/share/playonlinux/lib/wine.lib: γραμμή 407: xdpyinfo: εντολή δεν βρέθηκε
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 
DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
[09/08/14 00:15:01] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wineprefix/PrinceOfPersia1/drive_c/princeofpersia)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
[PlayOnLinux] Detecting program directory to run: C:\princeofpersia
cat: /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1/drive_c/autoexec.bat: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/usr/share/playonlinux/lib/wine.lib: γραμμή 407: xdpyinfo: εντολή δεν βρέθηκε
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 
DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Can you tell me why the game cannot start?

petch Monday 8 September 2014 at 7:54
petch
Developer

DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

 

Install the 32bit version of libpng 1.2

nikosgr Monday 8 September 2014 at 15:15
nikosgrAnonymous

i did sudo pacman -Sy libpng12 and the package has been install still it failed

 

wine: invalid parameters received it says and this is the log:

[09/08/14 16:15:16] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wineprefix/PrinceOfPersia1/drive_c/princeofpersia)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
[PlayOnLinux] Detecting program directory to run: C:\princeofpersia
cat: /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1/drive_c/autoexec.bat: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/usr/share/playonlinux/lib/wine.lib: γραμμή 407: xdpyinfo: εντολή δεν βρέθηκε
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 
DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

nikosgr Monday 8 September 2014 at 15:38
nikosgrAnonymous

perhaps i installed the 64bit of the pckage and not the 32bit

 

iam on arch but how i can install the 32bit of libpng12?

nikosgr Monday 8 September 2014 at 15:42
nikosgrAnonymous

ok i have manged ot install it form AUR but thereis another error:

[09/08/14 16:41:34] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wineprefix/PrinceOfPersia1/drive_c/princeofpersia)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1
[PlayOnLinux] Detecting program directory to run: C:\princeofpersia
cat: /home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1/drive_c/autoexec.bat: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/usr/share/playonlinux/lib/wine.lib: γραμμή 407: xdpyinfo: εντολή δεν βρέθηκε
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 
DOSBox: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

petch Monday 8 September 2014 at 18:08
petch
Developer

DOSBox: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Install the 32bit version of the ncurses 5 library...

 

nikosgr Monday 8 September 2014 at 18:49
nikosgrAnonymous

[nikos@dell ~]$ yaourt libncurses

Can't seem to find it. am i searching it allright?

 

Why playonlinux doesnt download these all fiels by default since it depends on them?

nikosgr Monday 8 September 2014 at 19:09
nikosgrAnonymous

i found it. Now the erro is:

 

[09/08/14 20:02:25] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wine/linux-x86)
[09/08/14 20:02:28] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wine/linux-x86)
wine: cannot find L"C:\\windows\\system32\\PRINCE.EXE"
wine: cannot find L"C:\\windows\\system32\\PRINCE.EXE"
wine: configuration in '/home/nikos/.PlayOnLinux//wineprefix/PrinceOfPersia1' has been updated.
[09/08/14 20:08:12] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wine/linux-x86)
wine: cannot find L"C:\\windows\\system32\\PRINCE.EXE"
[09/08/14 20:08:30] - Running wine-1.4-dos_support_0.5 PRINCE.EXE (Working directory : /home/nikos/.PlayOnLinux/wine/linux-x86)
wine: cannot find L"C:\\windows\\system32\\PRINCE.EXE"

nikosgr Monday 8 September 2014 at 20:02
nikosgrAnonymous

i uninstalled and reinstalled price and it worked this time!

 

But please do tell me why playonlinux didnt by default download the 32bit dependenceid it needed.

petch Monday 8 September 2014 at 20:41
petch
Developer

But please do tell me why playonlinux didnt by default download the 32bit dependenceid it needed.

We do not provide support for Arch, see with Arch packager.

That said in this specific case, since those are dependencies of the DOSBox support rather than PlayOnLinux itself, it could be fixed by adding the missing libraries inside the DOSBox support (#1951)

Edited by petch

Deleted Off-topic
Ronin DUSETTE Monday 8 September 2014 at 21:40
Ronin DUSETTE
Admin

FYI, you can install 32-bit libraries by activating the 32-bit repositories in /etc/pacman.conf

Once you do that, refresh pacman and then you can get almost any of the 32 bit libraries by using their regular name with lib32 in front of it. Like "pacman -S lib32-libpng". 

"But please do tell me why playonlinux didnt by default download the 32bit dependenceid it needed."

We also do not manage the graphics dependencies of peoples systems. That is something that you would need to do through your particular distro, but if you use the 'lib32-' prefix after enabling the multi-arch support in /etc/pacman.conf, you should be able to pull any 32 bit dependency that you need without going through AUR. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Deleted Off-topic
nikosgr Tuesday 9 September 2014 at 8:22
nikosgrAnonymous

Thank you for the explanation.