JeViCo Posted March 8, 2020 Share Posted March 8, 2020 I've recently tested my module on Debian 9.11 server (VPS hosting) and got this error: MODULE: Unable to load mods/deathmatch/modules/ml_base.so (liblua5.1.so.0: cannot open shared object file: No such file or directory) I compiled and tested it on Ubuntu (local VM via VirtualBox) and it worked perfectly. Did i miss something in makefile? My current Makefile.mak: https://pastebin.com/k0Nhi9ya Link to comment
JeViCo Posted March 11, 2020 Author Share Posted March 11, 2020 Up. Am i able to include the missing library as a part of module instead of referring to it? Link to comment
JeViCo Posted March 15, 2020 Author Share Posted March 15, 2020 (edited) Solved. I copied liblua5.1.a library ( /usr/lib/i386-linux-gnu on my device ) next to the Makefile. Also i added -static -L./ flags before the flag -llua5.1 (Makefile) Edited March 15, 2020 by JeViCo Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now