$ git clone https://github.com/gozfree/libraries.git
$ cd libraries
$ ./build.sh
$ sudo ./build.sh install
ffmpeg/alsa/x264/sdl
$ sudo apt-get install libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libasound-dev libx264-dev libsdl-dev
$ make
1.error while loading shared libraries: libdebug.so: cannot open shared object file: No such file or directory
make sure install libraries then
$ sudo ldconfig