corrupt libpng3 in maverick repository

Bug #674404 reported by José Lou Chang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libpng (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I was trying to install Super Mario War [http://smw.72dpiarmy.com/]

Upon executing Super Mario War (binary: smw), it game the following error:

“smw: error while loading shared libraries: libpng.so.3: cannot open shared object file: No such file or directory”

So, I installed libpng3 (1.2.44-1) from the repository. I tried to run smw again but it gave the same error.

This looked strange so I run ldd smw:

 obake@kubuntu:/usr/games$ ldd smw
        linux-gate.so.1 => (0xf77b4000)
        libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7707000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf76ee000)
        libSDL_image-1.2.so.0 => /usr/lib32/libSDL_image-1.2.so.0 (0xf76d0000)
        libSDL_mixer-1.2.so.0 => /usr/lib32/libSDL_mixer-1.2.so.0 (0xf7675000)
        libpng.so.3 => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf758a000)
        libm.so.6 => /lib32/libm.so.6 (0xf7564000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7547000)
        libc.so.6 => /lib32/libc.so.6 (0xf73ed000)
        libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7327000)
        librt.so.1 => /lib32/librt.so.1 (0xf731e000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf731a000)
        /lib/ld-linux.so.2 (0xf77b5000)
        libtiff.so.4 => /usr/lib32/libtiff.so.4 (0xf72be000)
        libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf729d000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7288000)
        libmikmod.so.2 => /usr/lib32/libmikmod.so.2 (0xf723c000)
        libvorbisfile.so.3 => /usr/lib32/libvorbisfile.so.3 (0xf7233000)
        libsmpeg-0.4.so.0 => /usr/lib32/libsmpeg-0.4.so.0 (0xf71d9000)
        libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf71b1000)
        libogg.so.0 => /usr/lib32/libogg.so.0 (0xf71aa000)

As you can see libpng.so.3 or libpng3 was not found according to smw.

I reinstalled libpng3 numerous times and I also installed the -dev packages just in case, but the results were the same.

And then I run into something interesting:

When I searched where libpng3 is installed, Kfind found the file, but it showed the permission as “Inaccessible” and the file size as “0 B”

Another weird incident is that libpng.so.3 can be found using the terminal or kfind (both of them report it as 0B) but I do not see it using Dolphin.

Specification:
Kubuntu 10.10 64-bit

José Lou Chang (obake)
description: updated
description: updated
description: updated
tags: added: libpng libpng.so.3 libpng3 smw
José Lou Chang (obake)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libpng (Ubuntu):
status: New → Confirmed
Revision history for this message
Willi (strangeq) wrote :

/usr/lib/libpng.so.3 is linking to /usr/lib/libpng12.so.0, but this file does not exist. The correct location is /lib/libpng12.so.0

To fix, run "sudo ln -s /lib/libpng12.so.0 /usr/lib/libpng12.so.0" in a terminal (without quotes).

Revision history for this message
Willi (strangeq) wrote :

(I'm so sorry, I noticed too late this was a dupe. Please ignore my comments.)

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.