Skip to content

Error - can not find luanet.so #2

Description

@janoskaz

When trying to debug and use LuaInterface in Mono under Ubuntu, I get following error:

Unhandled Exception: System.DllNotFoundException: luanet.so
  at (wrapper managed-to-native) LuaInterface.LuaDLL:lua_pushstdcallcfunction     (intptr,LuaInterface.LuaCSFunction)
  at LuaInterface.ObjectTranslator.createBaseClassMetatable (IntPtr luaState) [0x00000] in <filename unknown>:0 
  at LuaInterface.ObjectTranslator..ctor (LuaInterface.Lua interpreter, IntPtr luaState) [0x00000] in <filename unknown>:0 
  at LuaInterface.Lua..ctor () [0x00000] in <filename unknown>:0 
  at TestLua.Main (System.String[] args) [0x00000] in /home/zbynek/Plocha/csharp/Game/Lua/LuaProject/Program.cs:7 
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: luanet.so
  at (wrapper managed-to-native) LuaInterface.LuaDLL:lua_pushstdcallcfunction (intptr,LuaInterface.LuaCSFunction)
  at LuaInterface.ObjectTranslator.createBaseClassMetatable (IntPtr luaState) [0x00000] in <filename unknown>:0 
  at LuaInterface.ObjectTranslator..ctor (LuaInterface.Lua interpreter, IntPtr luaState) [0x00000] in <filename unknown>:0 
  at LuaInterface.Lua..ctor () [0x00000] in <filename unknown>:0 
  at TestLua.Main (System.String[] args) [0x00000] in /home/zbynek/Plocha/csharp/Game/Lua/LuaProject/Program.cs:7 

My luai file points to directory, where both LuaInterface.dll and luanet.so are, but the second one does not seem to be found/seen?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions