Am 2017-12-20 um 20:12 schrieb Tomas Hala
I installed the module (I'm at CentOS 6.6) by yum install luasql-postgres, ok. Then I used:
LuaSQL claims to work on Lua 5.1, 5.2 and 5.3: https://keplerproject.github.io/luasql/ Maybe you must install postgresql-dev?
! LuaTeX error <main ctx instance>:3: module 'luasql.postgres' not found: no field package.preload['luasql.postgres'] no file './luasql/postgres.so' no file '/usr/local/lib/lua/5.1/luasql/postgres.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './luasql.so' no file '/usr/local/lib/lua/5.1/luasql.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' <main ctx instance>:3: in main chunk.
Do you have postgres.so and the other libraries in one of the mentioned locations? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD