lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	Hi,

I've compiled it, with postgresql, sqlite and mysql and put the files in
/usr/share/lua50.
...
But, when I run the example, I get the following error:

MCid299a:~/lua/luasql-2.0.1/tests$ lua example.lua
lua: example.lua:4: could not load package `postgres' from path
`/home/walter.cruz/.lua50/?.lua;/home/walter.cruz/.lua50/?;/home/walter.cruz/share/lua50/?.lua;/home/walter.cruz/share/lua50/?;/usr/share/lua50/?.lua;/usr/share/lua50/?;/usr/local/share/lua50/?.lua;/usr/local/share/lua50/?;?.lua;?'
stack traceback:
[C]: in function `require'
example.lua:4: in main chunk
[C]: ?

Someone can help me ?
	Sure!  I think the problem is your path.  It seems that the
extension for binary libraries (.so) is missing.

	Hope it helps,
		Tomas