Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

module 'ffi' not found #63

Open
ghost opened this issue Aug 29, 2020 · 1 comment
Open

module 'ffi' not found #63

ghost opened this issue Aug 29, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 29, 2020

When I run ocemu in my terminal, I get

lua5.2: boot.lua:8: module 'ffi' not found:
        no field package.preload['ffi']
        no file '/usr/share/lua/5.2/ffi.lua'
        no file '/usr/share/lua/5.2/ffi/init.lua'
        no file '/usr/lib/lua/5.2/ffi.lua'
        no file '/usr/lib/lua/5.2/ffi/init.lua'
        no file './ffi.lua'
        no file '/usr/lib/lua/5.2/ffi.so'
        no file '/usr/lib/lua/5.2/loadall.so'
        no file './ffi.so'
stack traceback:
        [C]: in function 'require'
        boot.lua:8: in main chunk
        [C]: in ?

And, trying to load ffi from the Lua REPL:

Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> require("ffi")
error loading module 'ffi' from file './ffi.so':
        ./ffi.so: undefined symbol: lua_tointeger
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
@ghost
Copy link
Author

ghost commented Aug 31, 2020

@gamax92 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants