Skip to content

Commit

Permalink
fix issue that can not run release mode with lua projects (#20291)
Browse files Browse the repository at this point in the history
It is because luajit has 32bit version, and ubuntu does not support 32bit application by default.
  • Loading branch information
minggo committed Nov 5, 2019
1 parent 8126cfa commit 29e0372
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions install-deps-linux.sh
Expand Up @@ -11,13 +11,19 @@ fi

sudo apt-get update

DEPENDS='libx11-dev'
# run 32bit applicatio: needed for lua relase mode as luajit has 32bit version
# https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
sudo dpkg --add-architecture i386
DEPENDS='libc6:i386 libncurses5:i386 libstdc++6:i386'


DEPENDS+=' libx11-dev'
DEPENDS+=' libxmu-dev'
DEPENDS+=' libglu1-mesa-dev'
DEPENDS+=' libgl2ps-dev'
DEPENDS+=' libxi-dev'
DEPENDS+=' libzip-dev'
DEPENDS+=' libpng12-dev'
DEPENDS+=' libpng-dev'
DEPENDS+=' libcurl4-gnutls-dev'
DEPENDS+=' libfontconfig1-dev'
DEPENDS+=' libsqlite3-dev'
Expand Down

0 comments on commit 29e0372

Please sign in to comment.