lua-users home
lua-l archive

Re: "dynamic libraries not enabled"?

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


On 2011年1月20日 22:37:41 -0200, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>So, the only thing that remains is that perhaps you're running a different
>Lua interpreter, not the one you built.
Damn, I didn't think of this... :-/
/var/tmp> find / -name "lua"
/var/tmp/lua
/bin/lua
/var/tmp> which lua
/sbin/lua
/var/tmp> ./lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> require "sqlite3"
error loading module 'sqlite3' from file './sqlite3.so':
 Unable to resolve symbol
stack traceback:
 [C]: ?
 [C]: in function 'require'
 stdin:1: in main chunk
 [C]: ?
Thanks a bunch for the tip! I'll hit the sheets, investigate further
tomorrow, and report back.
Thanks guys.

AltStyle によって変換されたページ (->オリジナル) /