[Freeswitch-users] modu_lua compile error in freebsd
Rajil Saraswat
rajil.s at gmail.com
Thu Jun 25 15:06:57 MSD 2015
Hello,
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
lua52-5.2.4:
/usr/local/bin/lua52
/usr/local/bin/luac52
/usr/local/include/lua52/lauxlib.h
/usr/local/include/lua52/lua.h
/usr/local/include/lua52/lua.hpp
/usr/local/include/lua52/luaconf.h
/usr/local/include/lua52/lualib.h
/usr/local/lib/liblua-5.2.a
/usr/local/lib/liblua-5.2.so
/usr/local/libdata/pkgconfig/lua-5.2.pc
/usr/local/man/man1/lua52.1.gz
/usr/local/man/man1/luac52.1.gz
/usr/local/share/licenses/lua52-5.2.4/LICENSE
/usr/local/share/licenses/lua52-5.2.4/MIT
/usr/local/share/licenses/lua52-5.2.4/catalog.mk
Compile flags have been set
#echo $CPPFLAGS
-I/usr/local/include/lua52
# 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?
Thanks
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list