Skip to content

Cannot find lua module compat53 #15

Description

@RetroBonk

After compiling successfully on Ubuntu 20.04 and trying to run the executable:

config.lua:35: module 'compat53' not found:
	no field package.preload['compat53']
	no file '/usr/local/share/lua/5.3/compat53.lua'
	no file '/usr/local/share/lua/5.3/compat53/init.lua'
	no file '/usr/local/lib/lua/5.3/compat53.lua'
	no file '/usr/local/lib/lua/5.3/compat53/init.lua'
	no file '/usr/share/lua/5.3/compat53.lua'
	no file '/usr/share/lua/5.3/compat53/init.lua'
	no file './compat53.lua'
	no file './compat53/init.lua'
	no file '/usr/local/lib/lua/5.3/compat53.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.3/compat53.so'
	no file '/usr/lib/lua/5.3/compat53.so'
	no file '/usr/local/lib/lua/5.3/loadall.so'
	no file './compat53.so'Lua error while running script
throw was called and the exception is unknown
lua_tostring(): error: attempt to call a nil value
terminate called after throwing an instance of 'int'
Aborted (core dumped)

CFLAGS := -isystem /usr/include/fltk/ -Imdcomp/include/ -IautogeneratedBindings/ -Iluaposix/ext/include -Iluaposix_headers -Iiqa/include -I. -I/usr/include/lua5.3 -Ilua-compat-53/c-api -c

LDFLAGS := -flto=8 -O3 -march=native -fuse-linker-plugin -s -fno-rtti -std=gnu++14 -L/usr/lib/fltk/ -lfltk_images -lfltk -lpng -ljpeg -lXft -lXext -lXinerama -lX11 -lz -s -llua5.3 -ldl

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