jambonz / jambonz-infrastructure

packer and cloudformation templates for creating EC2-based jambonz deployments
23 stars 29 forks source link

packer/jambonz-mini/scripts/install_freeswitch.sh: /usr/bin/ld: cannot find -llua #32

Open asarubbo opened 1 year ago

asarubbo commented 1 year ago

Hello Dave,

when install_freeswitch.sh tries to compile freeswitch at https://github.com/jambonz/jambonz-infrastructure/blob/main/packer/jambonz-mini/scripts/install_freeswitch.sh#L125 I get (like #17)

  CCLD     test/test_image
/usr/bin/ld: cannot find -llua
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:945: test/test_mod_lua] Error 1
make[4]: *** Waiting for unfinished jobs....

I have bypassed this issue by passing LUA_LIBS to make in a way like:

LUA_LIBS="/usr/lib/x86_64-linux-gnu/liblua5.3.so"

but I'm wondering how it is working for you/others...