[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Namespace for 'require' (was: Re: LuaSocket & require & 5.1 howto?)
- From: David Burgess <dburgess@...>
- Date: Mon, 7 Feb 2005 12:26:17 +1000
Probably, I suspect the problem is:
If you use Luiz's
package.cpath = "l?.so"
Then LusSocket is in a lot of trouble because the package.path and
the package.cpath are incompatible.
Luasocket expects to load socket.lua and lsocket.so (or dll or whatever)
with the above cpath it wont work because the C library search occurs
first and it will find the C library first.
Methinks Diego has fixed this issue in the next release.