Skip to content

Is this an issue with moonnuklear or my lua code? #13

@awsdert

Description

@awsdert

The error (with paths stripped)

?/gasp/src/../OTG/lua/init.lua:27: ?/gasp/src/../OTG/lib/moonnuklear.so: undefined symbol: lua_newuserdatastack traceback:

My lua code

function Require(name,report_lib_error)
	if not name then
		trace()
		return nil
	end
	local path = os.getenv("GASP_PATH") .. "/lib/" .. name .. ".so"
	local func, err = loadlib(path,'luaopen_' .. name)
	if not func then
		if report_lib_error then
			dump_lua_stack()
			error(err .. debug.traceback())
			return nil
		end
		path = os.getenv("GASP_PATH") .. "/lua/" .. name
		func, err = loadfile(path)
		if not func then
			dump_lua_stack()
			error(err .. debug.traceback())
			return nil
		end
	end
	return func, pcall( func )
end

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