cd src; make all gcc -I/usr/local/include/lua51 -Icompat-5.1r5 -pedantic -Wall -fpic -c -o mime.o mime.c mime.c:1: warning: -fpic is not supported; -fPIC assumed gcc -O -dynamiclib -fpic -L/usr/local/lib -o mime.so.1.0.1 compat-5.1r5/compat-5.1.o mime.o ld: Undefined symbols: _luaL_error _lua_createtable _lua_getfenv _lua_gettable _lua_gettop _lua_insert _lua_pushcclosure _lua_pushlstring _lua_pushstring _lua_pushvalue _lua_remove _lua_settable _lua_settop _lua_type _luaL_addlstring _luaL_addstring _luaL_buffinit _luaL_checkinteger _luaL_checknumber _luaL_openlib _luaL_optlstring _luaL_optnumber _luaL_prepbuffer _luaL_pushresult _lua_pushnil _lua_pushnumber _lua_rawset _lua_tolstring /usr/bin/libtool: internal link edit command failed make[1]: *** [mime.so.1.0.1] Error 1 make: *** [all] Error 2