tom@tom-desktop:~/lua$ gcc -o main main.c /usr/lib/liblua50.a
/tmp/ccaYP80k.o: In function `main':
main.c:(.text+0x44): undefined reference to `luaopen_base'
main.c:(.text+0x58): undefined reference to `luaL_dostring'
collect2: ld returned 1 exit status
nevite co s tim prosim? ani hodina googleni nepomohla, tak se ptam tady.
dekuju