First c library and the connection of lua interface is a virtual stack, I first get a I want to be loaded into the c a repository for lua calls. So file (library);

On Ubuntu, will the three. So files in the directory in the c library source code third_party/lib here

And head files in the same directory of the include folders,
the most important steps to
1) on the Makefile library libzbar increase. So the execution method of

2) increase the interface function to c libraries;


After completing this step, just recompile make source;
After can call interface in lua function;