lua-users home
lua-l archive

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

> I tried to compile poslib to use in cgi-lua. poslib doen't create a shared
> lib, so I've donne it myself, using ld, the same way is said in lua
> INSTALL. But I still have undefine references. 
> undefined symbol: __cmpdi2
> Any help? What I really need is only the dir and getcwd functions, whose I
> find necessary in cgilua.
	Some time ago I used poslib with CGILua (I needed a lock function)
and it compiled perfectly!  What version of CGILua do you have?  Version
3.2 was made with a different Lua version (Lua 3.2 with states).
	CGILua have 'getcwd' function that returns a string with the current
working directory.