All, thanks for your help! I was able to figure it out in the end. I needed to link it against netinet library and it worked after that with -lnetinet -- View this message in context: http://lua.2524044.n2.nabble.com/symbol-not-found-h-errno-while-loading-LuaSockets-sockets-core-tp7647493p7647561.html Sent from the Lua-l mailing list archive at Nabble.com.