On Wed, Feb 10, 2010 at 3:27 PM, Norman Clarke <com...@gmail.com> wrote:
> Hi all,
>
> I'm trying to install Luafilesystem via Luarocks on an x86_64 Mac with
> OS X 10.6.2.
>
> Compilation and installation appears to work fine, but when I try to
> use LFS, I get this:
>
> $ lua -llfs
> lua: error loading module 'lfs' from file './lfs.so':
>        dlopen(./lfs.so, 2): Symbol not found: _luaL_argerror
>  Referenced from:
> /Users/norman/Downloads/luafilesystem-1.5.0-1/luafilesystem-1.5.0/lfs.so
>  Expected in: dynamic lookup
>
> Anybody have an idea what may be wrong?

Looking into it some further, it appears to be an issue with the
install locations chosen by Luarocks; when installing Lua and Luarocks
both to /usr/local, it works properly.

I had had problems earlier when installing Lua and Luarocks using
Homebrew, which placed them in separate directories. I imagine I
probably just need to play around some more with my LUA_PATH. Sorry
for the noise.

--Norman

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to