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

module 'ffi' not found #63

@ghost

Description

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 ?

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