Linux Powder Toy?

  • pcfreak1997
    25th Nov 2011 Member 0 Permalink
    I recently got Kubuntu Oneiric Ocelot. And I can't run powder toy. here is what it gives me when I run it in the Konsole.

    "/opt/powder: error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64"

    Can someone please help?
  • triclops200
    25th Nov 2011 Former Staff 0 Permalink
    Works fine for me on Linux Mint, try changing distros, it sounds like a KDE incompatibility.
  • jacksonmj
    25th Nov 2011 Developer 0 Permalink
    Are you using a 64 bit computer? The only binaries available on this website are 32 bit - so make sure you have the relevant 32 bit compatibility libraries installed (package name "ia32-libs" I think, but I don't use (K)ubuntu so I can't check this at the moment).


    Or you can compile 64 bit TPT yourself:
    Source code is available by clicking on the relevant version at https://powdertoy.co.uk/Download/Browse.html and downloading powder-src.zip (source is also available on github).
    Some slightly out of date information about compiling is available on the wiki. The libraries you need installed are lua, fftw3, bz2, and SDL (-dev packages also required for them). From a terminal in the Powder Toy source folder, "make powder-64-sse3".
  • Plasmoid
    25th Nov 2011 Member 0 Permalink
    You should try to mark it as exutable sorry about the spelling I'm in a rush.
  • pilojo
    25th Nov 2011 Member 0 Permalink
    @Plamoid (View Post)
    Atleast read the error... "error while loading shared libraries:" Nothing to do with being marked executable...

    Also, if you're 64-bit, enable multilibs.(I think it's called that anyways...) It allows 32 bit programs to run.