snes9x missing libpng14.so.14

Bug #1196205 reported by Xodetaetl
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Lutris
Fix Released
Undecided
Unassigned

Bug Description

This is the snes9x error message:

/home/ovo/.local/share/lutris/runners/snes9x-1.53/snes9x-gtk: error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory

May be related, this error when installing snes9x:

File "/media/data/Création/Programmation/Programmes/Lutris/lutris/lutris/runners/snes9x.py", line 139, in install
    os.link(lib_abspath, lib_abspath[:-5])
TypeError: 'NoneType' object has no attribute '__getitem__'

Revision history for this message
Mathieu Comandon (strycore) wrote :

yes, this is a known bug, I haven't compiled libpng14 for i386 yet. The other error message is a side effect of the lib not being available.

Changed in lutris:
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Xodetaetl (ovocean) wrote :

i386 ? I don't what you compiled it for then, but I'm on x86_64 Xubuntu.

Revision history for this message
Mathieu Comandon (strycore) wrote :

Oh, ok then it was a problem with how the architecture was returned on different distribuitons, it should be fixed now

Revision history for this message
Mathieu Comandon (strycore) wrote :

And the 32 bit version of the lib is available now, closing.

Changed in lutris:
status: Triaged → Fix Committed
Revision history for this message
Xodetaetl (ovocean) wrote :

Grabbed your last commit and deleted the snes9x folder but I still get the same errors.

Revision history for this message
Mathieu Comandon (strycore) wrote :

Of course, that was silly of me. I wrote a function to access the machine's architecture but didn't use it in snes9x installer. Should be ok now.

Revision history for this message
Xodetaetl (ovocean) wrote :

Still no better, sorry ! :)

Revision history for this message
Xodetaetl (ovocean) wrote :

Btw, in the lib sub-folder of snes9x there is "libpng14.so.14.12.0", while it's looking for "libpng14.so.14" ?

Revision history for this message
Xodetaetl (ovocean) wrote :

Yep, works by chaning the lib's filename to libpng14.so.14.

Revision history for this message
Mathieu Comandon (strycore) wrote :

There should be symlinks in the same folder with the correct names

snes9x.py:
122 logger.debug("Creating lib symlinks")
123 os.link(lib_abspath, lib_abspath[:-5])
124 os.link(lib_abspath, lib_abspath[:-8])

Obviously ,something is not working properly. I shall investigate this evening.

Changed in lutris:
status: Fix Committed → In Progress
Revision history for this message
Mathieu Comandon (strycore) wrote :

Should work now

Changed in lutris:
status: In Progress → Fix Committed
Revision history for this message
Xodetaetl (ovocean) wrote :

Yes it does ! :)

Changed in lutris:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.