Page 1 of 1

Multiwinia crashes without starting[Solved]

Posted: Wed Oct 24, 2012 8:15 pm
by whydoesitburn
Sorry about posting this here. There wasn't a Linux section under support, so I didn't know where else to post this. I have installed Multiwinia on my Gentoo system, but whenever I try to run the game, it crashes without even loading. When I run the binary file, I get this output:

Code: Select all

/opt/Multiwinia/multiwinia.bin.x86
/opt/Multiwinia/multiwinia.bin.x86: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


This is what lddtree gives me:

Code: Select all

lddtree /opt/Multiwinia/multiwinia.bin.x86
multiwinia.bin.x86 => /opt/Multiwinia/multiwinia.bin.x86 (interpreter => /lib/ld-linux.so.2)
    libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0
        libasound.so.2 => /usr/lib/libasound.so.2
            librt.so.1 => /lib/librt.so.1
        libdl.so.2 => /lib/libdl.so.2
        libaa.so.1 => /usr/lib/libaa.so.1
            libncurses.so.5 => /lib/libncurses.so.5
            libX11.so.6 => /usr/lib/libX11.so.6
                libxcb.so.1 => /usr/lib/libxcb.so.1
                    libXau.so.6 => /usr/lib/libXau.so.6
                    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
        libcaca.so.0 => /usr/lib/libcaca.so.0
            libncursesw.so.5 => /lib/libncursesw.so.5
            libglut.so.3 => /usr/lib/libglut.so.3
                libXi.so.6 => /usr/lib/libXi.so.6
                    libXext.so.6 => /usr/lib/libXext.so.6
                libXrandr.so.2 => /usr/lib/libXrandr.so.2
                    libXrender.so.1 => /usr/lib/libXrender.so.1
                libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1
    libGL.so.1 => /usr/lib/libGL.so.1
        libnvidia-tls.so.295.71 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.295.71
        libnvidia-glcore.so.295.71 => /usr/lib/libnvidia-glcore.so.295.71
    libGLU.so.1 => /usr/lib/libGLU.so.1
    libpng12.so.0 => not found
    libopenal.so.1 => /usr/lib/libopenal.so.1
    libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3
    libvorbis.so.0 => /usr/lib/libvorbis.so.0
    libogg.so.0 => /usr/lib/libogg.so.0
    libpthread.so.0 => /lib/libpthread.so.0
    libz.so.1 => /lib/libz.so.1
    libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libstdc++.so.6
    libm.so.6 => /lib/libm.so.6
    libgcc_s.so.1 => /lib/libgcc_s.so.1
    libc.so.6 => /lib/libc.so.6


According to portage my current libpng is 1.5.10. Again, I am sorry for posting this in the wrong forum, for lack of a better location.[/code]

Re: Multiwinia crashes without starting

Posted: Thu Oct 25, 2012 3:33 pm
by bert_the_turtle
whydoesitburn wrote:

Code: Select all

/opt/Multiwinia/multiwinia.bin.x86: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Standard problem, especially with Gentoo. Libpng is not compatible between different versions. You need to install the required one separately. Quick google turns up this, which says you need to do

Code: Select all

emerge libpng:1.2

Can't say whether that is a permanent solution or whether your next global update removes the version you need.

Posted: Thu Oct 25, 2012 7:39 pm
by whydoesitburn
Thanks for the reply! Although, rather than emerging that specific version, I found it when I stumbled libpng.org. After I complied the source, I copied libpng12.so.0 directly to Multiwinia's /lib/, and the game started no problem. At least keeping it directly in Multiwinia's directories will keep Portage from removing next upgrade.