Solved Missing Lua Library in Ubuntu 18.04#4
Solved Missing Lua Library in Ubuntu 18.04#4gustavohmsilva wants to merge 1 commit intomalcome:masterfrom
Conversation
Problem: lua53.pas couldn't find liblua5.3-dev in my System... Simple solution really. Probably also affects Mac OS X, as it also put a dot between 5 and 3 in the liblua5.3.so library when installed with Homebrew, Discrepancy identified when I ran the command ldconfig -p | grep liblua
|
Download official binaries from: https://sourceforge.net/projects/luabinaries/files/5.3.5/Linux%20Libraries/ Open archive, see: liblua53.so Your patch ("LUA_LIB_NAME = 'liblua5.3.so';") is not correct. May be need add IFDEF for Mac OS X? (if Homebrew place '.'). |
|
I can confirm that Ubuntu Linux 16.04 and 18.04 also don't store the lib as liblua53.so, but as liblua5.3.so It is probably best to change line 106: Today's age Lua libraries are standard on all linux package managers and homebrew on Mac OS, and they are all always installed as liblua5.3.so It makes more sense to change the source code of your project, IMHO. |
|
Then need to inform the project lua that they have an incorrect file name in the archive. |
Problem: lua53.pas couldn't find liblua5.3-dev in my System...
Simple solution really. Probably also affects Mac OS X, as it also put a dot between 5 and 3 in the liblua5.3.so library when installed with Homebrew, Discrepancy identified when I ran the command