lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

>>> Did you install the release version or one from Mercurial ?

I installed the release version

>>> Where is the libSDL2-2.0.so.0 installed? Can you please type ldd /path/to/libSDL2-2.0.so.0?

$ ldd /usr/local/lib/libSDL2-2.0.so.0
    linux-gate.so.1 =>  (0xb7776000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7620000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb761b000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb75fe000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb75f5000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7446000)
    /lib/ld-linux.so.2 (0xb7777000)

>>> Also, can you please type ldd on the SDL.so file provided by Lua-SDL2

$ ldd /usr/local/lib/lua/5.2/SDL.so
    linux-gate.so.1 =>  (0xb7785000)
    libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0xb764c000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7630000)
    liblua5.2.so.0 => /usr/lib/i386-linux-gnu/liblua5.2.so.0 (0xb75fc000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb744d000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7407000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7402000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb73f9000)
    /lib/ld-linux.so.2 (0xb7786000)

And now starts the funny part. I tried now the example again. And it works now. It is really strange for me because I did get the error continuous also after two reboots.
Just strange for me.

Now I get a SDL error message:

lua: image.lua:10: No available video device
stack traceback:
    [C]: in function 'error'
    image.lua:10: in main chunk
    [C]: in ?

That is not a Lua error so thanks for your help.

Best Regards,
Alexander