[Freeswitch-users] modu_lua compile error in freebsd

Rajil Saraswat rajil.s at gmail.com
Thu Jun 25 15:06:57 MSD 2015


I am trying to compile freeswitch in freebsd. The lua package is
installed on my system, but still freeswitch is unable to find -llua.

Installed lua52 package
#pkg info -l lua52

Compile flags have been set
# echo $LDFLAGS
-L/usr/local/lib -R/usr/local/lib

Compile error
gmake[4]: Entering directory '/src/freeswitch/src/mod/languages/mod_lua'
  CXXLD    mod_lua.la
/usr/bin/ld: cannot find -llua
Makefile:761: recipe for target 'mod_lua.la' failed
gmake[4]: *** [mod_lua.la] Error 1
gmake[4]: Leaving directory '/src/freeswitch/src/mod/languages/mod_lua'
Makefile:650: recipe for target 'mod_lua-all' failed
gmake[3]: *** [mod_lua-all] Error 1
gmake[3]: Leaving directory '/src/freeswitch/src/mod'
Makefile:562: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/src/freeswitch/src'
Makefile:2652: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/src/freeswitch'
Makefile:1063: recipe for target 'all' failed
gmake: *** [all] Error 2

anything i maybe missing?


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list