lua-users home
lua-l archive

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


On Sun, Jan 10, 2010 at 8:22 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> For the record, luafilesystem-1.4.2 work fine with 5.2 once recompiled.

Actually, it doesn't even need to be recompiled, as I've just
discovered.  What got me was this default value for package.cpath:

/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;./?.so

That is, the ./ check is _last_. So it was picking up the old version
of lfs.so on my system.

This gotcha might bite others, so beware; easy enough to set the
LUA_CPATH to your own liking.

steve d.