Hi, > local libopen = "luasql_libopen_postgres" Have you tried "luaopen_luasqlpostgres" But LuaSQL is meant to work with compat-5.1. If properly configured, this should be enough: require "luasql.postgres" -- Danilo