How do I run TPT on Linux?

  • ryan516
    31st Oct 2013 Member 0 Permalink

    I downloaded the Linux version of TPT on Arch Linux, but when I do ./powder it returns

     

    ./powder-legacy: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory


    Please help me!

  • jacob1
    31st Oct 2013 Developer 2 Permalink
    are you using a 64 bit version of linux? You might have to compile it yourself, there are guides in the wiki (it's extremely easy, set up is like a minute and compiling might take 5-10)

    Alternatively, you can get the 32 bit libs tpt needs: SDL, lua, bzipz, z, fftw3f
    I'm not sure how to do that in arch linux, just debian / ubuntu ... (where you append :i386 to the package name)
    Edited once by jacob1. Last: 31st Oct 2013
  • ryan516
    31st Oct 2013 Member 0 Permalink

    Ok, thank you :D

  • MiningMarsh
    31st Oct 2013 Member 0 Permalink

    If you are running 64bit linux, I still maintain snapshots in this thread:

    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=17287

     

    If you are running gentoo, I maintain a package file:

    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=17587

    Edited once by MiningMarsh. Last: 31st Oct 2013
  • ryan516
    31st Oct 2013 Member 0 Permalink

    I am running 64 bit Linux, but that snapshot doesn't work for me.

     

    [ryan@localhost powder]$ ./powder64
    ./powder64: error while loading shared libraries: liblua.so.5: cannot open shared object file: No such file or directory
    [ryan@localhost powder]$

  • MiningMarsh
    1st Nov 2013 Member 0 Permalink

    @ryan516 (View Post)

    Install lua 5 (64bit).

     

    EDIT: As well, if you do not already have them, these are the things you need installed:

     

    SDL

    fftw

    lua 5

    libz

    bz2

    (there are other libs it is linked against but they shouldn't be causing any issues.)

    Edited 2 times by MiningMarsh. Last: 1st Nov 2013